flutter_light 0.0.2 copy "flutter_light: ^0.0.2" to clipboard
flutter_light: ^0.0.2 copied to clipboard

A pedometer plugin for retrieving the light sensor data in Lux. Works for Android only, since the light sensor API is not available on iOS.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_light
copied to clipboard

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_light: ^0.0.2
copied to clipboard

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_light/flutter_light.dart';
copied to clipboard
0
likes
40
points
28
downloads

Publisher

verified publishercachet.dk

Weekly Downloads

2024.09.23 - 2025.04.07

A pedometer plugin for retrieving the light sensor data in Lux. Works for Android only, since the light sensor API is not available on iOS.

Homepage

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_light