CountDownText constructor
CountDownText({
- Key? key,
- required DateTime? due,
- required String? finishedText,
- bool? longDateName = false,
- TextStyle? style,
- bool? showLabel = false,
- bool collapsing = false,
- String daysTextLong = " days ",
- String hoursTextLong = " hours ",
- String minutesTextLong = " minutes ",
- String secondsTextLong = " seconds ",
- String daysTextShort = " d ",
- String hoursTextShort = " h ",
- String minutesTextShort = " m ",
- String secondsTextShort = " s ",
- String endingText = 'left',
Implementation
CountDownText({
Key? key,
required this.due,
required this.finishedText,
this.longDateName = false,
this.style,
this.showLabel = false,
this.collapsing = false,
this.daysTextLong = " days ",
this.hoursTextLong = " hours ",
this.minutesTextLong = " minutes ",
this.secondsTextLong = " seconds ",
this.daysTextShort = " d ",
this.hoursTextShort = " h ",
this.minutesTextShort = " m ",
this.secondsTextShort = " s ",
this.endingText = 'left',
}) : super(key: key);