Marker class
Represents a coordinate point on the map with an attached widget builder, rendered by MarkerLayer
Some properties defaults will absorb the values from the parent MarkerLayer, if the reflected properties are defined there.
Constructors
- Marker({Key? key, required LatLng point, required WidgetBuilder builder, double width = 30.0, double height = 30.0, AnchorPos? anchorPos, bool? rotate, Offset? rotateOrigin, AlignmentGeometry? rotateAlignment})
Properties
- anchorPos → AnchorPos?
-
Positioning of the builder widget relative to the center of its bounding
box defined by its height & width
final
- builder → WidgetBuilder
-
Function that builds UI of the marker
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
Bounding box height of the marker
final
- key → Key?
-
final
- point → LatLng
-
Coordinates of the marker
final
- rotate → bool?
-
Whether to counter rotate markers to the map's rotation, to keep a fixed
orientation
final
- rotateAlignment → AlignmentGeometry?
-
The alignment of the origin, relative to the size of the box.
final
- rotateOrigin → Offset?
-
The origin of the coordinate system (relative to the upper left corner of
this render object) in which to apply the matrix.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
Bounding box width of the marker
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