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

A Flutter compass plugin using device sensors. Heading is 0-360 degrees (0 = north).

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add flutter_device_compass

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  flutter_device_compass: ^2.0.0

Alternatively, 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:flutter_device_compass/flutter_device_compass.dart';
2
likes
160
points
79
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter compass plugin using device sensors. Heading is 0-360 degrees (0 = north).

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_device_compass

Packages that implement flutter_device_compass