Marker class

A container for a child widget located at a geographic coordinate point

Some properties defaults will absorb the values from the parent MarkerLayer, if the reflected properties are defined there.

Annotations

Constructors

Marker({Key? key, required LatLng point, required Widget child, double width = 30, double height = 30, Alignment? alignment, bool? rotate})
Creates a container for a child widget located at a geographic coordinate point
const

Properties

alignment Alignment?
Alignment of the marker relative to the normal center at point
final
child Widget
Widget tree of the marker, sized by width & height
final
hashCode int
The hash code for this object.
no setterinherited
height double
Height of child
final
key Key?
final
point LatLng
Coordinates of the marker
final
rotate bool?
Whether to counter rotate this marker to the map's rotation, to keep a fixed orientation
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
Width of child
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