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

outdated

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

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.1

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';
0
likes
40
points
16
downloads

Publisher

verified publishercachet.dk

Weekly Downloads

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