PolygonController class
The PolygonController class wraps a gmaps.Polygon and its onTap behavior.
Constructors
- PolygonController({required Polygon polygon, bool consumeTapEvents = false, VoidCallback? onTap, required VoidCallback? onDragend, required VoidCallback? onInsertAt, required VoidCallback? onRemoveAt, required VoidCallback? onSetAt})
-
Creates a
PolygonControllerthat wraps agmaps.Polygonobject and itsonTapbehavior.
Properties
- consumeTapEvents → bool
-
Returns
trueif this Controller will use its ownonTaphandler to consume events.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- polygon → Polygon?
-
Returns the wrapped
gmaps.Polygon. Only used for testing.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → void -
Disposes of the currently wrapped
gmaps.Polygon. -
toString(
) → String -
A string representation of this object.
inherited
-
update(
PolygonOptions options) → void -
Updates the options of the wrapped
gmaps.Polygonobject.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited