registerOnTouchPinch method
void
registerOnTouchPinch(
- TouchPinchCallback? touchPinchCallback
Registers a callback for touch-initiated pinch gestures.
Touch-pinch mode starts with a single tap immediately followed by two pointers landing near the original touch.
Parameters
touchPinchCallback: (TouchPinchCallback?) Receives pointer trajectories. Passnullto unregister.
Implementation
void registerOnTouchPinch(final TouchPinchCallback? touchPinchCallback) {
_touchPinchCallback = touchPinchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onTouchPinch',
touchPinchCallback == null,
);
}