one_tap_location 0.1.1
one_tap_location: ^0.1.1 copied to clipboard
Gets the location with one tap on the Android 17 system location button or iOS CLLocationButton, with a fallback on Android 7 to 16. Required by the Google Play location policy.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add one_tap_locationThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
one_tap_location: ^0.1.1Alternatively, 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:one_tap_location/one_tap_location.dart';