finish method

void finish()

Timer finish function.

Implementation

void finish() {
  _animationController.stop();
  _animationController.value = 1.0;
  _state.value = CustomTimerState.finished;
  notifyListeners();
}