map_address_picker
library
Functions
-
showLocationPicker(BuildContext context, {MapType mapType = MapType.normal, LatLng initialCenter = const LatLng(28.612925, 77.229512), bool requiredGPS = false, LocationAccuracy desiredAccuracy = LocationAccuracy.best, bool automaticallyAnimateToCurrentLocation = true, String? title, bool layersButtonEnabled = true, double initialZoom = 16, FloatingActionButtonLocation floatingActionButtonLocation = FloatingActionButtonLocation.endFloat})
→ Future<LocationResult?>
-
Returns a LatLng object of the location that was picked.
Exceptions / Errors
-
MapStyleException
-
Exception when a map style is invalid or was unable to be set.