MapUserLocationConfig constructor
const
MapUserLocationConfig({
- bool showHeading = true,
- bool requestPermissionAutomatically = true,
- LocationAccuracy desiredAccuracy = LocationAccuracy.high,
- int distanceFilter = 10,
- bool followUser = false,
- bool showUserLocationButton = true,
- MapControlConfig buttonConfig = const MapControlConfig(alignment: Alignment.bottomRight),
- Widget markerBuilder(
- BuildContext context
Implementation
const MapUserLocationConfig({
this.showHeading = true,
this.requestPermissionAutomatically = true,
this.desiredAccuracy = LocationAccuracy.high,
this.distanceFilter = 10,
this.followUser = false,
this.showUserLocationButton = true,
this.buttonConfig = const MapControlConfig(
alignment: Alignment.bottomRight,
),
this.markerBuilder,
});