CountDownTimer constructor
const
CountDownTimer({
- Key? key,
- required Duration duration,
- VoidCallback? onFinished,
- void onTick(
- Duration remaining
- TextStyle? style,
- bool autoStart = true,
- CountDownFormat format = CountDownFormat.hms,
Implementation
const CountDownTimer({
super.key,
required this.duration,
this.onFinished,
this.onTick,
this.style,
this.autoStart = true,
this.format = CountDownFormat.hms,
});