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) {
  if (pointer != _primaryPointer) {
    return;
  }
  super.rejectGesture(pointer);

  _stopDeadlineTimer();
  _giveUpPointer(pointer);
  _resetTaps();
  _resetDragUpdateThrottle();
}