CountDownText constructor

CountDownText({
  1. Key? key,
  2. required DateTime? due,
  3. required String? finishedText,
  4. bool? longDateName = false,
  5. TextStyle? style,
  6. bool? showLabel = false,
  7. String daysTextLong = " days ",
  8. String hoursTextLong = " hours ",
  9. String minutesTextLong = " minutes ",
  10. String secondsTextLong = " seconds ",
  11. String daysTextShort = " d ",
  12. String hoursTextShort = " h ",
  13. String minutesTextShort = " m ",
  14. String secondsTextShort = " s ",
})

Implementation

CountDownText(
    {Key? key,
    required this.due,
    required this.finishedText,
    this.longDateName = false,
    this.style,
    this.showLabel = 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 ",})
    : super(key: key);