location_platform_interface library
Classes
- LocationData
- The response object of LocationPlatform.getLocation and LocationPlatform.onLocationChanged.
- LocationPlatform
- The interface that implementations of location must implement.
- LocationSettings
- LocationSettings is used to change the settings of the next location request.
- MethodChannelLocation
Enums
- LocationAccuracy
- Precision of the Location. A lower precision will provide a greater battery life.
- PermissionStatus
- Status of a permission request to use location services.
Extensions
- LocationAccuracyExtension on LocationAccuracy
- Extended to LocationAccuracy.
- XPermissionStatus on PermissionStatus
- Extension to PermissionStatus.
Functions
-
permissionStatusFromInt(
int permission) → PermissionStatus - Allow to map the return of the permission request Will be deleted once Pigeon supports returning Enum https://github.com/flutter/flutter/issues/87307