`CircularCountDownTimer(duration: 5)` to `CircularCountDownTimer(duration: Duration(seconds: 5))` We can improve the code by changing the duration parameter from int in seconds to Duration.
CircularCountDownTimer(duration: 5)to
CircularCountDownTimer(duration: Duration(seconds: 5))We can improve the code by changing the duration parameter from int in seconds to Duration.