setToStart method

  1. @override
void setToStart()
override

Reverts the controller to its initial state, as it was before the start of the animation.

Implementation

@override
void setToStart() {
  _currentIndex = 0;
  children.forEach((c) => c.setToStart());
}