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. bool collapsing = false,
  8. String daysTextLong = " days ",
  9. String hoursTextLong = " hours ",
  10. String minutesTextLong = " minutes ",
  11. String secondsTextLong = " seconds ",
  12. String daysTextShort = " d ",
  13. String hoursTextShort = " h ",
  14. String minutesTextShort = " m ",
  15. String secondsTextShort = " s ",
  16. 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);