PickerPlusMonthPicker constructor

const PickerPlusMonthPicker({
  1. Key? key,
  2. required DateTime minDate,
  3. required DateTime maxDate,
  4. DateTime? initialDate,
  5. DateTime? currentDate,
  6. DateTime? selectedDate,
  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. TextStyle? leadingDateTextStyle,
  18. Color? slidersColor,
  19. double? slidersSize,
  20. Color? highlightColor,
  21. Color? splashColor,
  22. double? splashRadius,
  23. bool centerLeadingDate = false,
  24. String? previousPageSemanticLabel = 'Previous Month',
  25. String? nextPageSemanticLabel = 'Next Month',
})

Implementation

const PickerPlusMonthPicker({
  super.key,
  required this.minDate,
  required this.maxDate,
  this.initialDate,
  this.currentDate,
  this.selectedDate,
  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.leadingDateTextStyle,
  this.slidersColor,
  this.slidersSize,
  this.highlightColor,
  this.splashColor,
  this.splashRadius,
  this.centerLeadingDate = false,
  this.previousPageSemanticLabel = 'Previous Month',
  this.nextPageSemanticLabel = 'Next Month',
});