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
PolygonController
that wraps agmaps.Polygon
object and itsonTap
behavior.
Properties
- consumeTapEvents → bool
-
Returns
true
if this Controller will use its ownonTap
handler 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.Polygon
object.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited