juice_location 0.2.0
juice_location: ^0.2.0 copied to clipboard
Device location (one-shot + continuous tracking) as a Juice bloc, behind a swappable source seam.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add juice_locationThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
juice_location: ^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:juice_location/juice_location.dart';