rejectGesture method

  1. @override
void rejectGesture()
override

Called when this recognizer loses the arena.

Implementation

@override
void rejectGesture() {
  _dragStarted = false;
  state = GestureRecognizerState.defunct;
}