service/my_location library

Functions

getCurrentPosition() Future<LatLng?>
Returns current LatLng of the device without checking for permissions. Use this function when it is known that location permission is enabled.
getMyLocation() Future<LatLng?>
Returns current LatLng of the device.
isLocationServiceEnabled() Future<bool>
checks if location service is enabled.