location2_platform_interface library

Classes

LocationData
The response object of getLocationPermissionStatus(),[] and onLocationPermissionChanged
LocationPermissionData
The response object of getLocationPermissionStatus(),[] and onLocationPermissionChanged
LocationPermissionPlatform
The interface that implementations of location_permission must implement.
LocationPlatform
The interface that implementations of location must implement.
LocationSettings
LocationSettings is used to change the settings of the next location request.
MethodChannelLocation
MethodChannelLocationPermission

Enums

LocationAccuracy
Precision of the Location. A lower precision will provide a greater battery life.
LocationErrors
Value of raised exception
LocationPermission
Status of a granted permission or requested to use location services.
PermissionStatus
Status of a permission request to use location services.

Functions

locationPermissionStatusFromInt(int permission) LocationPermission
Allow to map the return of the LocationPermission request Will be deleted once Pigeon supports returning Enum https://github.com/flutter/flutter/issues/87307
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