registerOnDoubleTouch method
Single pointer double touch event.
A double touch event is defined as two consecutive touches within a preset time duration in milliseconds, and distance between the two touches has to be less than a preset distance in millimeters.
Parameters
- IN pos is the position where the event occurred
Implementation
void registerOnDoubleTouch(final TouchCallback? doubleTouchCallback) {
_touchDoubleCallback = doubleTouchCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onDoubleTouch',
doubleTouchCallback == null,
);
}