setToEnd method

  1. @override
void setToEnd()
override

Puts the controller into its final "completed" state.

Implementation

@override
void setToEnd() {
  t = _duration;
  for (final effect in effects) {
    effect.resetToEnd();
  }
}