reset method

void reset()

Resets the animation to its initial state by setting the state to reset. This typically means the animated text should return to the start of its animation in this cycle and be ready to begin again.

Implementation

void reset() {
  stateNotifier.value = AnimatedTextState.reset;
}