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

discontinued
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.
});
381
likes
0
pub points
92%
popularity

Publisher

verified publisherflutter.dev

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