PolylineController class

The PolylineController class wraps a gmaps.Polyline and its onTap behavior.

Constructors

PolylineController({required Polyline polyline, bool consumeTapEvents = false, VoidCallback? onTap, void onEdited(List<LatLng> path)?})
Creates a PolylineController that wraps a gmaps.Polyline 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
line → Polyline?
Returns the wrapped gmaps.Polyline. 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.Polyline.
toString() → String
A string representation of this object.
inherited
update(PolylineOptions options) → void
Updates the options of the wrapped gmaps.Polyline object.

Operators

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