CountdownTimerController constructor
CountdownTimerController({
- required int endTime,
- VoidCallback? onEnd,
- TickerProvider? vsync,
Implementation
CountdownTimerController(
{required int endTime, this.onEnd, TickerProvider? vsync})
: this._endTime = endTime {
if(vsync != null) {
this._animationController = AnimationController(vsync: vsync, duration: Duration(seconds: 1));
}
}