onTwoTouches method

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

Called when a simultaneous two-pointer touch gesture occurs.

Two-touch events occur when two pointers land and lift within the gesture thresholds.

Parameters

  • pos: Midpoint between the two touch points.

Implementation

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