DateFilterView constructor

DateFilterView({
  1. FilterController<DateFilter>? filterController,
  2. String? hint,
  3. bool? allowSorting,
  4. String textDateStart = "Date start",
  5. String textDateEnd = "Date end",
  6. String textAll = "All",
  7. String textFromYesterday = "From yesterday",
  8. String textFromToday = "From today",
  9. String textFromNow = "From now",
  10. String textFromTomorrow = "From tomorrow",
  11. String textBeforeToday = "Before today",
  12. String textAfterToday = "After today",
  13. String textInARange = "In a range",
  14. DateTimePickerMode datePickerMode = DateTimePickerMode.BOTH,
})

Implementation

DateFilterView({
  super.filterController,
  super.hint,
  super.allowSorting,
  this.textDateStart = "Date start",
  this.textDateEnd = "Date end",
  this.textAll = "All",
  this.textFromYesterday = "From yesterday",
  this.textFromToday = "From today",
  this.textFromNow = "From now",
  this.textFromTomorrow = "From tomorrow",
  this.textBeforeToday = "Before today",
  this.textAfterToday = "After today",
  this.textInARange = "In a range",
  this.datePickerMode = DateTimePickerMode.BOTH,
});