MapUserLocationConfig class

Configuration for tracking and displaying the user's live location.

Constructors

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)?})
const

Properties

buttonConfig MapControlConfig
Visual configuration for the recenter button.
final
desiredAccuracy → LocationAccuracy
final
distanceFilter int
final
followUser bool
Whether the map should continuously center on the user as they move.
final
hashCode int
The hash code for this object.
no setterinherited
markerBuilder Widget Function(BuildContext context)?
Builder for the user's location pin.
final
requestPermissionAutomatically bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showHeading bool
final
showUserLocationButton bool
Whether to display a standard floating button to recenter on the user.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited