Flet Services

Flet offers a comprehensive set of services to enable multi-platform application development using Python. These services provide access to device capabilities and system functionalities across web, desktop, and mobile platforms.

Available Services

  • **Accelerometer**: Access device accelerometer data.
  • **Audio**: Control audio playback.
  • **AudioRecorder**: Record audio from the device.
  • **Barometer**: Access device barometer data.
  • **Battery**: Monitor device battery status.
  • **BrowserContextMenu**: Interact with the browser's context menu.
  • **Clipboard**: Read from and write to the system clipboard.
  • **Connectivity**: Detect network connectivity status.
  • **FilePicker**: Allow users to select files or directories.
  • **Flashlight**: Control the device's flashlight.
  • **Geolocator**: Obtain device location information.
  • **Gyroscope**: Access device gyroscope data.
  • **HapticFeedback**: Provide haptic feedback to the user.
  • **Magnetometer**: Access device magnetometer data.
  • **PermissionHandler**: Manage app permissions.
  • **ScreenBrightness**: Control device screen brightness.
  • **SemanticsService**: Access accessibility semantics.
  • **ShakeDetector**: Detect device shake gestures.
  • **Share**: Share content to other applications.
  • **SharedPreferences**: Store and retrieve key-value pairs.
  • **StoragePaths**: Get standard storage directory paths.
  • **UrlLauncher**: Open URLs in the default browser or app.
  • **UserAccelerometer**: Access user-specific accelerometer data.
  • **Wakelock**: Prevent the device screen from sleeping.