gyroscope 0.0.1 copy "gyroscope: ^0.0.1" to clipboard
gyroscope: ^0.0.1 copied to clipboard

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

gyroscope #

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

Getting Started #

Usage #

GyroscopeSensorImpl gyro = GyroscopeSensorImpl();

gyro.subscribe(data, rate: SampleRate.fastest);

gyro.unsubscribe();

Permissions. #

(IOS) add sensor permission in info.plist

- NSMotionUsageDescription

TODO:

  • ❌ Handle Exeptions Dart
  • ❌ Handle Exeptions IOS
  • ❌ Convert Code to Streams instead of callback
  • ❌ Implement Android
  • ❌ Implement other supprted sensors by Senskit
  • ❌ Improve documentation.
2
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter plugin to use Gyroscope in flutter using Android and IOS native.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

equatable, flutter, plugin_platform_interface

More

Packages that depend on gyroscope