reset method

void reset()

Immediately resets the controller to its resting closed state (0.0).

Implementation

void reset() {
  _animationController.stop();
  _isClosing = false;
  _hasHandedOff = false;
  _lastElapsedSeconds = 0.0;
  _phaseStartTriggerWidth = 1.0;
  _openStartProgress = 0.0;
  _closeStartProgress = 0.0;
  _animationController.value = 0.0;
  notifyListeners();
}