simple_flutter_compass 0.1.2 copy "simple_flutter_compass: ^0.1.2" to clipboard
simple_flutter_compass: ^0.1.2 copied to clipboard

Flutter plugin for fetching the device's current heading. Value range from 0-360 with 0 facing North.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add simple_flutter_compass

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

dependencies:
  simple_flutter_compass: ^0.1.2

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:simple_flutter_compass/simple_flutter_compass.dart';
1
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Flutter plugin for fetching the device's current heading. Value range from 0-360 with 0 facing North.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on simple_flutter_compass