reset method Null safety

  1. @override
void reset()
override

Resets the gesture for reuse.

Implementation

@override
void reset() {
  _gestureX = 0;
  _gestureY = 0;
  _triggered = false;
  _complete = false;
  _failed = false;
}