Anchor class

Exact alignment for a Marker.builder widget relative to the center of its bounding box defined by its Marker.height & Marker.width

May be generated from an AnchorPos (usually with AnchorPos.alignment defined) and dimensions through Anchor.fromPos.

Constructors

Anchor(double left, double top)
Anchor.fromPos(AnchorPos pos, double width, double height)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
left double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double
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