PickerPlusDaysPickerController constructor

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

Implementation

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