PickerPlusDaysPicker constructor
const
PickerPlusDaysPicker({
- Key? key,
- required DateTime minDate,
- required DateTime maxDate,
- DateTime? initialDate,
- DateTime? currentDate,
- DateTime? selectedDate,
- ValueChanged<
DateTime> ? onDateSelected, - ValueChanged<
DateTime> ? onDoubleTap, - bool showOkCancel = true,
- VoidCallback? onOk,
- VoidCallback? onLeadingDateTap,
- TextStyle? daysOfTheWeekTextStyle,
- TextStyle? enabledCellsTextStyle,
- BoxDecoration enabledCellsDecoration = const BoxDecoration(),
- TextStyle? disabledCellsTextStyle,
- BoxDecoration disabledCellsDecoration = const BoxDecoration(),
- TextStyle? currentDateTextStyle,
- BoxDecoration? currentDateDecoration,
- TextStyle? selectedCellTextStyle,
- BoxDecoration? selectedCellDecoration,
- TextStyle? leadingDateTextStyle,
- Color? slidersColor,
- double? slidersSize,
- Color? highlightColor,
- Color? splashColor,
- double? splashRadius,
- bool centerLeadingDate = false,
- String? previousPageSemanticLabel = 'Previous Day',
- String? nextPageSemanticLabel = 'Next Day',
- 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,
});