onDoubleTouch method

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

Called when a double-touch (double-tap) gesture occurs.

The gesture is detected when two taps occur within the configured time and distance thresholds.

Parameters

  • pos: Touch position in view pixels.

Implementation

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