onLongPress method

  1. @override
void onLongPress(
  1. Point<int> pos
)

Called when a long-press gesture is detected.

The gesture fires when a pointer remains down past the long-press threshold with minimal movement.

Parameters

  • pos: Touch position in view pixels.

Implementation

@override
void onLongPress(final Point<int> pos) {
  _touchLongPressCallback?.call(pos);
}