onLongPress method - LongPressListener class - gestures library - Dart API
onLongPress
onLongPress abstract method
- GestureState state,
- Point2D origin
Called when the double long press gesture occurs.
-
stateDetermines in which state the gesture is. -
originPosition of the touch point relative to the MapView in pixels.
Implementation
void onLongPress(GestureState state, Point2D origin);