location_tracking 2.1.2
location_tracking: ^2.1.2 copied to clipboard
A Flutter plugin for receiving location updates even when the app is terminated. Works on both iOS and Android with support for background execution.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add location_trackingThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
location_tracking: ^2.1.2Alternatively, 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:location_tracking/location_tracking.dart';