TickerFuture.complete constructor

TickerFuture.complete()

Creates a TickerFuture instance that represents an already-complete Ticker sequence.

This is useful for implementing objects that normally defer to a Ticker but sometimes can skip the ticker because the animation is of zero duration, but which still need to represent the completed animation in the form of a TickerFuture.

Implementation

TickerFuture.complete() {
  _complete();
}