forward method

void forward()

Starts running this animation forward.

Implementation

void forward() {
  final currentRaw = rawProgress;
  status = AnimationStatus.forward;
  if (_stopwatch == null) {
    _stopwatch = clock.stopwatch()..start();
    _transitionStartTimeMs = 0;
    _lastFrameTimeMs = 0;
  } else {
    _stopwatch!.start();
    _transitionStartTimeMs = _stopwatch!.elapsedMilliseconds;
  }
  _startProgress = currentRaw;
}