CountDown constructor
const
CountDown({
- Key? key,
- Duration duration = const Duration(seconds: 5),
- ValueChanged<
int> ? onChanged, - required CountDownBuilder builder,
- int periodic = 1000,
- CountDownType type = CountDownType.seconds,
Implementation
const CountDown({
super.key,
this.duration = const Duration(seconds: 5),
this.onChanged,
required this.builder,
this.periodic = 1000,
this.type = CountDownType.seconds,
});