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

discontinuedreplaced by: sensors_plus
outdated

Flutter plugin for accessing the Android and iOS 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

Flutter plugin for accessing the Android and iOS accelerometer and gyroscope sensors.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on sensors