GestureMarkerOptions class

Options for gesture callbacks on a marker.

Inheritance

Constructors

GestureMarkerOptions({VoidCallback? onTap, VoidCallback? onLongPress, VoidCallback? onHover, VoidCallback? onActive, void onPositionChanged(LatLng oldPos, LatLng newPos)?})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
onActive → VoidCallback?
Callback when marker becomes active.
final
onHover → VoidCallback?
Callback when marker is hovered.
final
onLongPress → VoidCallback?
Callback when marker is long-pressed.
final
onPositionChanged → void Function(LatLng oldPos, LatLng newPos)?
Callback when marker position changes.
final
onTap → VoidCallback?
Callback when marker is tapped.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({VoidCallback? onTap, VoidCallback? onLongPress, VoidCallback? onHover, VoidCallback? onActive, void onPositionChanged(LatLng oldPos, LatLng newPos)?}) → GestureMarkerOptions
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