one_tap_location library
Location access with a single tap on the system location button.
Classes
- OneTapLocationAvailability
- How a OneTapLocationButton obtains location access on a device.
- OneTapLocationButton
- A button that obtains the user's location with a single tap.
- OneTapLocationButtonStyle
- The appearance of a OneTapLocationButton.
- OneTapLocationController
- Reports the state of a OneTapLocationButton.
- OneTapLocationDenied
- Location access was denied by the user or by a device policy.
- OneTapLocationFailed
- No position could be obtained.
- OneTapLocationGranted
- Location access was granted and a position was obtained.
- OneTapLocationResult
- The outcome of a tap on a OneTapLocationButton.
- OneTapPosition
- A geographic position reported by a OneTapLocationButton.
Enums
- AndroidLocationButtonLabel
- The text of the system button on Android.
- IOSLocationButtonIcon
- The icon of the system button on iOS.
- IOSLocationButtonLabel
- The text of the system button on iOS.
- OneTapLocationButtonType
- The button that a OneTapLocationButton shows.
- OneTapLocationDiagnostic
- A signal that explains why a OneTapLocationButton has not produced a result.
- OneTapLocationErrorCode
- The reason a OneTapLocationException was raised.
Typedefs
- OneTapLocationFallbackBuilder = Widget Function(BuildContext context, VoidCallback? onPressed)
- Builds the button that a OneTapLocationButton shows on Android where the system location button is not available.
Exceptions / Errors
- OneTapLocationException
- An error that prevented a position from being obtained.