registerOnTouchMove method
void
registerOnTouchMove(
- MoveCallback? touchMoveCallback
Registers a callback for touch-move gestures after tap-and-hold.
Touch-move mode is triggered by a tap immediately followed by another pointer down in the same area, then a move.
Parameters
touchMoveCallback: (MoveCallback?) Receives the drag start and end positions. Passnullto stop listening.
Implementation
void registerOnTouchMove(final MoveCallback? touchMoveCallback) {
_touchMoveCallback = touchMoveCallback;
GemKitPlatform.instance.filterEvent(
pointerId,
'onTouchMove',
touchMoveCallback == null,
);
}