inherited_geolocation 0.5.0-beta.2 inherited_geolocation: ^0.5.0-beta.2 copied to clipboard
An inherited widget that manages geolocation updates from the user.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add inherited_geolocation
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
inherited_geolocation: ^0.5.0-beta.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:inherited_geolocation/inherited_geolocation.dart';