forked from rekabhq/background_locator
-
Notifications
You must be signed in to change notification settings - Fork 95
Installation
Valentin Tahon edited this page Jul 11, 2022
·
2 revisions
Add this to your project's pubspec.yaml file:
dependencies:
background_locator_2: ^{latest_version}
You can install packages from the command line:
$ flutter pub get
If for any reason the package doesn't seem to work after importing, use these command lines:
$ flutter clean
$ flutter pub upgrade
Now in your Dart code, you can use:
import 'package:background_locator_2/background_locator.dart';