registerOnTouchMove method

void registerOnTouchMove(
  1. MoveCallback? touchMoveCallback
)

Single pointer touch move event.

Touch move mode is enabled by performing a pointer touch immediately followed by a pointer down in same screen area, and then move.

Parameters

  • IN start is the start position involved in move action
  • IN end is the end position involved in move action

Implementation

void registerOnTouchMove(final MoveCallback? touchMoveCallback) {
  _touchMoveCallback = touchMoveCallback;

  GemKitPlatform.instance.filterEvent(
    pointerId,
    'onTouchMove',
    touchMoveCallback == null,
  );
}