flutter_magnetometer 0.1.1

Flutter Android iOS

A Flutter plugin for getting the magnetometer data of your device along the x,y and z coordinates

flutter_magnetometer #

Supports Android only atm #

To start using this add import 'package:flutter_magnetometer/flutter_magnetometer.dart';to your imports section.

Then you can simply listen to new events from the sensor via FlutterMagnetometer.events.listen((MagnetometerData data) => doStuff(data));.

An example app with a compass and raw sensor data in the UI can be found in ther example folder.

Getting Started #

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

1
likes
80
pub points
49%
popularity

A Flutter plugin for getting the magnetometer data of your device along the x,y and z coordinates

Homepage

Documentation

API reference

Uploader

leontappe@googlemail.com

License

BSD (LICENSE)

Dependencies

equatable, flutter

More

Packages that depend on flutter_magnetometer