forward method

TickerFuture forward({
  1. double? from,
})

Starts running this animation forwards (towards the end).

Returns a TickerFuture that completes when the animation is complete.

The most recently returned TickerFuture, if any, is marked as having been canceled, meaning the future never completes and its TickerFuture.orCancel derivative future completes with a TickerCanceled error.

During the animation, status is reported as AnimationStatus.forward, which switches to AnimationStatus.completed when upperBound is reached at the end of the animation.

Implementation

TickerFuture forward({double? from}) {
  return _controller.forward(from: from);
}