reverse method

void reverse({
  1. double? from,
})

Implementation

void reverse({double? from}) {
  _initTicker();
  print('Reverse called');
  if (_isAnimating) {
    stop();
  }
  if (from != null) {
    _internalSetValue(from);
  }
  _status = AnimationStatus.reverse;
  _isAnimating = true;
  _lastElapsed = Duration.zero;
  _ticker.start();
}