one_tap_location 0.1.0
one_tap_location: ^0.1.0 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.
0.1.0 #
- Initial release of
OneTapLocationButton, backed byCLLocationButtonon iOS and the system location button on Android 17, with a fallback button that uses the permission dialog on Android 7 to 16. OneTapLocationButton.checkAvailability()reports which button the widget shows on the device, and whether the app restricts precise location to the system button.package:one_tap_location/testing.dartprovidesFakeOneTapLocation, which lets widget tests find, tap and answer the button.
