headless_compass 0.2.0
headless_compass: ^0.2.0 copied to clipboard
Headless iOS compass: a typed stream of magnetic and true heading with accuracy. No widgets, no exceptions, no location permission until you ask for it.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add headless_compassThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
headless_compass: ^0.2.0Alternatively, 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:headless_compass/headless_compass.dart';