CalendarDatePicker2WithActionButtonsConfig constructor
CalendarDatePicker2WithActionButtonsConfig({
- CalendarDatePicker2Type? calendarType,
- DateTime? firstDate,
- DateTime? lastDate,
- DateTime? currentDate,
- DatePickerMode? calendarViewMode,
- List<
String> ? weekdayLabels, - TextStyle? weekdayLabelTextStyle,
- int? firstDayOfWeek,
- double? controlsHeight,
- Widget? lastMonthIcon,
- Widget? nextMonthIcon,
- TextStyle? controlsTextStyle,
- TextStyle? dayTextStyle,
- TextStyle? selectedDayTextStyle,
- Color? selectedDayHighlightColor,
- Color? selectedRangeHighlightColor,
- TextStyle? disabledDayTextStyle,
- TextStyle? todayTextStyle,
- TextStyle? yearTextStyle,
- TextStyle? selectedYearTextStyle,
- TextStyle? selectedRangeDayTextStyle,
- BorderRadius? dayBorderRadius,
- BorderRadius? yearBorderRadius,
- SelectableDayPredicate? selectableDayPredicate,
- CalendarDayTextStylePredicate? dayTextStylePredicate,
- CalendarDayBuilder? dayBuilder,
- CalendarYearBuilder? yearBuilder,
- bool? disableModePicker,
- bool? centerAlignModePicker,
- Widget? customModePickerIcon,
- CalendarModePickerTextHandler? modePickerTextHandler,
- bool rangeBidirectional = false,
- double? gapBetweenCalendarAndButtons,
- TextStyle? cancelButtonTextStyle,
- Widget? cancelButton,
- TextStyle? okButtonTextStyle,
- Widget? okButton,
- bool? openedFromDialog,
- bool? closeDialogOnCancelTapped,
- bool? closeDialogOnOkTapped,
- EdgeInsets? buttonPadding,
Implementation
CalendarDatePicker2WithActionButtonsConfig({
CalendarDatePicker2Type? calendarType,
DateTime? firstDate,
DateTime? lastDate,
DateTime? currentDate,
DatePickerMode? calendarViewMode,
List<String>? weekdayLabels,
TextStyle? weekdayLabelTextStyle,
int? firstDayOfWeek,
double? controlsHeight,
Widget? lastMonthIcon,
Widget? nextMonthIcon,
TextStyle? controlsTextStyle,
TextStyle? dayTextStyle,
TextStyle? selectedDayTextStyle,
Color? selectedDayHighlightColor,
Color? selectedRangeHighlightColor,
TextStyle? disabledDayTextStyle,
TextStyle? todayTextStyle,
TextStyle? yearTextStyle,
TextStyle? selectedYearTextStyle,
TextStyle? selectedRangeDayTextStyle,
BorderRadius? dayBorderRadius,
BorderRadius? yearBorderRadius,
SelectableDayPredicate? selectableDayPredicate,
CalendarDayTextStylePredicate? dayTextStylePredicate,
CalendarDayBuilder? dayBuilder,
CalendarYearBuilder? yearBuilder,
bool? disableModePicker,
bool? centerAlignModePicker,
Widget? customModePickerIcon,
CalendarModePickerTextHandler? modePickerTextHandler,
bool rangeBidirectional = false,
this.gapBetweenCalendarAndButtons,
this.cancelButtonTextStyle,
this.cancelButton,
this.okButtonTextStyle,
this.okButton,
this.openedFromDialog,
this.closeDialogOnCancelTapped,
this.closeDialogOnOkTapped,
this.buttonPadding,
}) : super(
calendarType: calendarType,
firstDate: firstDate,
lastDate: lastDate,
currentDate: currentDate,
calendarViewMode: calendarViewMode,
weekdayLabels: weekdayLabels,
weekdayLabelTextStyle: weekdayLabelTextStyle,
firstDayOfWeek: firstDayOfWeek,
controlsHeight: controlsHeight,
lastMonthIcon: lastMonthIcon,
nextMonthIcon: nextMonthIcon,
controlsTextStyle: controlsTextStyle,
dayTextStyle: dayTextStyle,
selectedDayTextStyle: selectedDayTextStyle,
selectedRangeDayTextStyle: selectedRangeDayTextStyle,
selectedDayHighlightColor: selectedDayHighlightColor,
selectedRangeHighlightColor: selectedRangeHighlightColor,
disabledDayTextStyle: disabledDayTextStyle,
todayTextStyle: todayTextStyle,
yearTextStyle: yearTextStyle,
selectedYearTextStyle: selectedYearTextStyle,
dayBorderRadius: dayBorderRadius,
yearBorderRadius: yearBorderRadius,
selectableDayPredicate: selectableDayPredicate,
dayTextStylePredicate: dayTextStylePredicate,
dayBuilder: dayBuilder,
yearBuilder: yearBuilder,
disableModePicker: disableModePicker,
centerAlignModePicker: centerAlignModePicker,
customModePickerIcon: customModePickerIcon,
modePickerTextHandler: modePickerTextHandler,
rangeBidirectional: rangeBidirectional,
);