motion_core 0.0.5
motion_core: ^0.0.5 copied to clipboard
A high-performance Flutter plugin that provides a simple, unified stream of fused device motion data, abstracting native APIs like iOS Core Motion and Android's Rotation Vector sensor.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add motion_coreThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
motion_core: ^0.0.5Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:motion_core/motion_core.dart';