CountDown constructor

const CountDown({
  1. Key? key,
  2. Duration duration = const Duration(seconds: 5),
  3. ValueChanged<int>? onChanged,
  4. required CountDownBuilder builder,
  5. int periodic = 1000,
  6. 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,
});