LocationMarkerStyle class

An immutable style describing how to format and paint the location marker.

Annotations

Constructors

LocationMarkerStyle({Widget marker = const DefaultLocationMarker(), Size markerSize = const Size.square(20), MarkerDirection markerDirection = MarkerDirection.top, bool showAccuracyCircle = true, Color accuracyCircleColor = const Color(0x182196F3), bool showHeadingSector = true, double headingSectorRadius = 60, Color headingSectorColor = const Color(0xCC2196F3)})
Create a LocationMarkerStyle.
const

Properties

accuracyCircleColor Color
The color of the accuracy circle. Default to ARGB(0x182196F3).
final
hashCode int
The hash code for this object.
no setterinherited
headingSectorColor Color
The color of the heading sector. Default to ARGB(0xCC2196F3).
final
headingSectorRadius double
The radius of the heading sector in pixels. Default to 60.
final
marker Widget
The main marker widget. Default to DefaultLocationMarker
final
markerDirection MarkerDirection
The direction of the marker while map is rotated. Default to MarkerDirection.top.
final
markerSize Size
The size of main marker widget. Default to 20px * 20px.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAccuracyCircle bool
Whether to show accuracy circle. Android define accuracy as the radius of 68% confidence so there is a 68% probability that the true location is inside the circle. Default to true.
final
showHeadingSector bool
Whether to show the heading sector. Default to true.
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