registerOnTwoDoubleTouches method
void
registerOnTwoDoubleTouches(
- TouchCallback? twoDoubleTouchCallback
Registers a callback for two-pointer double-touch gestures.
The event fires when two consecutive two-touch gestures occur within the configured timing thresholds.
Parameters
twoDoubleTouchCallback: (TouchCallback?) Receives the midpoint of the touch positions. Passnullto unsubscribe.
Implementation
void registerOnTwoDoubleTouches(final TouchCallback? twoDoubleTouchCallback) {
_touchTwoDoubleCallback = twoDoubleTouchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onTwoDoubleTouches',
twoDoubleTouchCallback == null,
);
}