rejectGesture method

  1. @override
void rejectGesture(
  1. int pointer
)
override

Called when this member loses the arena for the given pointer id.

Implementation

@override
void rejectGesture(int pointer) {
  super.rejectGesture(pointer);

  if (isRejectable) {
    onLongTapReject.call();

    if (focusTiming == TouchRippleFocusTiming.rejectable) {
      focusEnd();
    }
  }
}