galli_motion_sensors 0.0.3
galli_motion_sensors: ^0.0.3 copied to clipboard
Flutter plugin for accessing the Android and iOS accelerometer, gyroscope, magnetometer, and orientation sensors.
galli_motion_sensors #
Flutter plugin for accessing the Android and iOS accelerometer, gyroscope, magnetometer and orientation sensors.
Getting Started #
To use this plugin, add galli_motion_sensors
as a dependency in your pubspec.yaml
file.
dependencies:
galli_motion_sensors: ${latest_version}
Import to your project.
import 'package:galli_motion_sensors/galli_motion_sensors.dart';
motionSensors.magnetometer.listen((MagnetometerEvent event) {
print(event);
});
Screenshot #
