rejectGesture method

  1. @override
void rejectGesture()
override

Called when this recognizer loses the arena.

Implementation

@override
void rejectGesture() {
  _timer?.cancel();
  _timer = null;
  state = GestureRecognizerState.defunct;
}