CountTimer constructor

const CountTimer({
  1. Key? key,
  2. CountTimerFormat format = CountTimerFormat.daysHoursMinutesSeconds,
  3. VoidCallback? onEnd,
  4. bool enableDescriptions = true,
  5. TextStyle? timeTextStyle,
  6. TextStyle? colonsTextStyle,
  7. TextStyle? descriptionTextStyle,
  8. String daysDescription = "Days",
  9. String hoursDescription = "Hours",
  10. String minutesDescription = "Minutes",
  11. String secondsDescription = "Seconds",
  12. double spacerWidth = 10,
  13. required CountTimerController controller,
})

Implementation

const CountTimer({
  Key? key,
  this.format = CountTimerFormat.daysHoursMinutesSeconds,
  this.onEnd,
  this.enableDescriptions = true,
  this.timeTextStyle,
  this.colonsTextStyle,
  this.descriptionTextStyle,
  this.daysDescription = "Days",
  this.hoursDescription = "Hours",
  this.minutesDescription = "Minutes",
  this.secondsDescription = "Seconds",
  this.spacerWidth = 10,
  required this.controller,
}) : super(key: key);