sensors 0.1.1 copy "sensors: ^0.1.1" to clipboard
sensors: ^0.1.1 copied to clipboard

discontinuedreplaced by: sensors_plus
outdatedDart 1 only

A Flutter plugin to access the accelerometer and gyroscope sensors.

sensors #

A Flutter plugin to access the accelerometer and gyroscope sensors.

Usage #

To use this plugin, add sensors as a dependency in your pubspec.yaml file.

Example #

import 'package:sensors/sensors.dart';

accelerometerEvents.listen((AccelerometerEvent event) {
 // Do something with the event.
});

gyroscopeEvents.listen((GyroscopeEvent event) {
 // Do something with the event.
});
382
likes
0
points
5.65k
downloads

Publisher

verified publisherflutter.dev

Weekly Downloads

A Flutter plugin to access the accelerometer and gyroscope sensors.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sensors