all_device_sensors 1.0.1 copy "all_device_sensors: ^1.0.1" to clipboard
all_device_sensors: ^1.0.1 copied to clipboard

A Flutter plugin to access all device sensors — accelerometer, gyroscope, magnetometer, linear acceleration, gravity, barometer, proximity, light and step counter. By Bharathwaj.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add all_device_sensors

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

dependencies:
  all_device_sensors: ^1.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:all_device_sensors/all_device_sensors.dart';
0
likes
150
points
68
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to access all device sensors — accelerometer, gyroscope, magnetometer, linear acceleration, gravity, barometer, proximity, light and step counter. By Bharathwaj.

Repository (GitHub)

Topics

#sensors #accelerometer #gyroscope #barometer #hardware

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on all_device_sensors

Packages that implement all_device_sensors