StaticMarker class

Inheritance

Constructors

StaticMarker.new({required double bearing, required Widget child, required LatLng latLng, Offset? rotateOrigin, double width = 20, double height = 20, Alignment alignment = Alignment.center})

Properties

alignment Alignment
The alignment of the marker, which controls where the child is drawn and how the anchor of the marker widget and screen position are interpreted. Defaults to Alignment.center, but with marker like location icon, you might want to use Alignment.bottomCenter.
finalinherited
bearing double
The bearing of the marker, in degrees clockwise from north. This value will be normalized to be in the range 0, 360. You can get bearing/heading from GPS location, If only use StaticMarker to add a non-moving marker, you can set this value to 0
final
child Widget
finalinherited
hashCode int
The hash code for this object.
no setterinherited
height double
Make sure the height of the marker are match with it child height to the marker display exactly
finalinherited
latLng LatLng
finalinherited
rotateOrigin Offset?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Make sure the width of the marker are match with it child width to the marker display exactly
finalinherited

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