PolygonController class

The PolygonController class wraps a GPolygon and its onTap behavior.

Constructors

PolygonController({required GPolygon polygon, bool consumeTapEvents = false, VoidCallback? onTap, Future<WebViewController>? controller})
Creates a PolygonController that wraps a GPolygon 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
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tapEvent VoidCallback?
Polygon component's tap event.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove() → void
Disposes of the currently wrapped GPolygon.
toString() String
A string representation of this object.
inherited
update(GPolygonOptions options) → void
Updates the options of the wrapped GPolygon object.

Operators

operator ==(Object other) bool
The equality operator.
inherited