GestureOverlayOptions class

Options to configure specific gesture callbacks for an overlay.

Inheritance

Constructors

GestureOverlayOptions({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 overlay is hovered.
final
onLongPress VoidCallback?
Callback when overlay is long-pressed.
final
onPositionChanged → void Function(LatLng oldPos, LatLng newPos)?
Callback when overlay position changes.
final
onTap VoidCallback?
Callback when overlay 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)?}) GestureOverlayOptions
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