CountTimer constructor
const
CountTimer({
- Key? key,
- CountTimerFormat format = CountTimerFormat.daysHoursMinutesSeconds,
- VoidCallback? onEnd,
- bool enableDescriptions = true,
- TextStyle? timeTextStyle,
- TextStyle? colonsTextStyle,
- TextStyle? descriptionTextStyle,
- String daysDescription = "Days",
- String hoursDescription = "Hours",
- String minutesDescription = "Minutes",
- String secondsDescription = "Seconds",
- double spacerWidth = 10,
- 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);