MapUserLocationConfig constructor

const MapUserLocationConfig({
  1. bool showHeading = true,
  2. bool requestPermissionAutomatically = true,
  3. LocationAccuracy desiredAccuracy = LocationAccuracy.high,
  4. int distanceFilter = 10,
  5. bool followUser = false,
  6. bool showUserLocationButton = true,
  7. MapControlConfig buttonConfig = const MapControlConfig(alignment: Alignment.bottomRight),
  8. Widget markerBuilder(
    1. 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,
});