registerTwoDoubleTouchesCallback method
- TouchCallback? twoDoubleTouchCallback
Two pointers double touch event.
A two pointers double touch event is defined as two consecutive two-pointer touches from which the pointer ups are within a preset time in milliseconds.
Parameters
- IN pos is the mid position of the segment determined by the two pointer positions
Implementation
void registerTwoDoubleTouchesCallback(
final TouchCallback? twoDoubleTouchCallback,
) {
_touchTwoDoubleCallback = twoDoubleTouchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onTwoDoubleTouches',
twoDoubleTouchCallback == null,
);
}