start method

void start()

Timer start function.

Implementation

void start() {
  if (state.value == CustomTimerState.finished) _animationController.reset();
  _animationController.forward();

  _state.value = CustomTimerState.counting;
  notifyListeners();
}