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 && state == GestureRecognizerState.possible) {
    _stopTimer();
    state = GestureRecognizerState.defunct;
  }
}