PickerPlusDaysPicker constructor

const PickerPlusDaysPicker({
  1. Key? key,
  2. required DateTime minDate,
  3. required DateTime maxDate,
  4. DateTime? initialDate,
  5. DateTime? currentDate,
  6. DateTime? selectedDate,
  7. ValueChanged<DateTime>? onDateSelected,
  8. ValueChanged<DateTime>? onDoubleTap,
  9. bool showOkCancel = true,
  10. VoidCallback? onOk,
  11. VoidCallback? onLeadingDateTap,
  12. TextStyle? daysOfTheWeekTextStyle,
  13. TextStyle? enabledCellsTextStyle,
  14. BoxDecoration enabledCellsDecoration = const BoxDecoration(),
  15. TextStyle? disabledCellsTextStyle,
  16. BoxDecoration disabledCellsDecoration = const BoxDecoration(),
  17. TextStyle? currentDateTextStyle,
  18. BoxDecoration? currentDateDecoration,
  19. TextStyle? selectedCellTextStyle,
  20. BoxDecoration? selectedCellDecoration,
  21. TextStyle? leadingDateTextStyle,
  22. Color? slidersColor,
  23. double? slidersSize,
  24. Color? highlightColor,
  25. Color? splashColor,
  26. double? splashRadius,
  27. bool centerLeadingDate = false,
  28. String? previousPageSemanticLabel = 'Previous Day',
  29. String? nextPageSemanticLabel = 'Next Day',
  30. DatePredicate? disabledDayPredicate,
})

Implementation

const PickerPlusDaysPicker({
  super.key,
  required this.minDate,
  required this.maxDate,
  this.initialDate,
  this.currentDate,
  this.selectedDate,
  this.onDateSelected,
  this.onDoubleTap,
  this.showOkCancel = true,
  this.onOk,
  this.onLeadingDateTap,
  this.daysOfTheWeekTextStyle,
  this.enabledCellsTextStyle,
  this.enabledCellsDecoration = const BoxDecoration(),
  this.disabledCellsTextStyle,
  this.disabledCellsDecoration = const BoxDecoration(),
  this.currentDateTextStyle,
  this.currentDateDecoration,
  this.selectedCellTextStyle,
  this.selectedCellDecoration,
  this.leadingDateTextStyle,
  this.slidersColor,
  this.slidersSize,
  this.highlightColor,
  this.splashColor,
  this.splashRadius,
  this.centerLeadingDate = false,
  this.previousPageSemanticLabel = 'Previous Day',
  this.nextPageSemanticLabel = 'Next Day',
  this.disabledDayPredicate,
});