GesturePolylineOptions class
Options for gesture callbacks on a polyline.
- Inheritance
-
- Object
- PolylineOptions
- GesturePolylineOptions
Constructors
- GesturePolylineOptions({VoidCallback? onTap, VoidCallback? onLongPress, VoidCallback? onHover, void onPositionChanged(LatLng oldPos, LatLng newPos)?})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- onHover → VoidCallback?
-
Callback when polyline is hovered.
final
- onLongPress → VoidCallback?
-
Callback when polyline is long-pressed.
final
- onPositionChanged → void Function(LatLng oldPos, LatLng newPos)?
-
Callback when polyline position changes.
final
- onTap → VoidCallback?
-
Callback when polyline is tapped.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{VoidCallback? onTap, VoidCallback? onLongPress, VoidCallback? onHover, void onPositionChanged(LatLng oldPos, LatLng newPos)?}) → GesturePolylineOptions -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override