reset method

  1. @override
void reset()
override

A callback function that is called to define all the member variables of this class to their initial values if the gesture is rejected or accepted.

Implementation

@override
void reset() {
  _pointerDownOffset = null;
  _pointerMoveOffset = null;
}