PolygonController class

The PolygonController class wraps a gmaps.Polygon and its onTap behavior.

Constructors

PolygonController({required Polygon polygon, bool consumeTapEvents = false, VoidCallback? onTap, void onEdited(List<LatLng> points, List<List<LatLng>> holes)?})
Creates a PolygonController that wraps a gmaps.Polygon object and its onTap behavior.

Properties

consumeTapEvents → bool
Returns true if this Controller will use its own onTap 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