dchs_motion_sensors 2.0.0 copy "dchs_motion_sensors: ^2.0.0" to clipboard
dchs_motion_sensors: ^2.0.0 copied to clipboard

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

motion_sensors #

Flutter plugin for accessing the Android and iOS accelerometer, gyroscope, magnetometer and orientation sensors. Updated version from https://github.com/zesage/motion_sensors

Getting Started #

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

dependencies:
  motion_sensors: ^2.0.0

Import to your project.

import 'package:dchs_motion_sensors/dchs_motion_sensors.dart';

motionSensors.magnetometer.listen((MagnetometerEvent event) {
    print(event);
});

10
likes
160
points
1.55k
downloads

Publisher

verified publisherdariocavada.com

Weekly Downloads

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, vector_math

More

Packages that depend on dchs_motion_sensors