CalendarDatePicker2WithActionButtonsConfig constructor

CalendarDatePicker2WithActionButtonsConfig({
  1. CalendarDatePicker2Type? calendarType,
  2. DateTime? firstDate,
  3. DateTime? lastDate,
  4. DateTime? currentDate,
  5. DatePickerMode? calendarViewMode,
  6. List<String>? weekdayLabels,
  7. TextStyle? weekdayLabelTextStyle,
  8. int? firstDayOfWeek,
  9. double? controlsHeight,
  10. Widget? lastMonthIcon,
  11. Widget? nextMonthIcon,
  12. TextStyle? controlsTextStyle,
  13. TextStyle? dayTextStyle,
  14. TextStyle? selectedDayTextStyle,
  15. Color? selectedDayHighlightColor,
  16. Color? selectedRangeHighlightColor,
  17. TextStyle? disabledDayTextStyle,
  18. TextStyle? todayTextStyle,
  19. TextStyle? yearTextStyle,
  20. TextStyle? selectedYearTextStyle,
  21. TextStyle? selectedRangeDayTextStyle,
  22. BorderRadius? dayBorderRadius,
  23. BorderRadius? yearBorderRadius,
  24. SelectableDayPredicate? selectableDayPredicate,
  25. CalendarDayTextStylePredicate? dayTextStylePredicate,
  26. CalendarDayBuilder? dayBuilder,
  27. CalendarYearBuilder? yearBuilder,
  28. bool? disableModePicker,
  29. bool? centerAlignModePicker,
  30. Widget? customModePickerIcon,
  31. CalendarModePickerTextHandler? modePickerTextHandler,
  32. bool rangeBidirectional = false,
  33. double? gapBetweenCalendarAndButtons,
  34. TextStyle? cancelButtonTextStyle,
  35. Widget? cancelButton,
  36. TextStyle? okButtonTextStyle,
  37. Widget? okButton,
  38. bool? openedFromDialog,
  39. bool? closeDialogOnCancelTapped,
  40. bool? closeDialogOnOkTapped,
  41. 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,
      );