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