CalendarDatePicker2WithActionButtonsConfig class

Inheritance

Constructors

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})

Properties

buttonPadding EdgeInsets?
Custom wrapping padding for Ok & Cancel buttons
final
calendarType CalendarDatePicker2Type
The enabled date picker mode
finalinherited
calendarViewMode DatePickerMode
The initially displayed view of the calendar picker.
finalinherited
cancelButton Widget?
Custom cancel button
final
cancelButtonTextStyle TextStyle?
Text style for cancel button
final
cantidadMesesAMostrar int
getter/setter pairinherited
centerAlignModePicker bool?
Flag to centralize year and month text label in controls
finalinherited
closeDialogOnCancelTapped bool?
If the dialog should be closed when user taps the CANCEL button
final
closeDialogOnOkTapped bool?
If the dialog should be closed when user taps the OK button
final
controlsHeight double?
Custom height for calendar control toggle's height
finalinherited
controlsTextStyle TextStyle?
Custom text style for calendar mode toggle control
finalinherited
currentDate DateTime
The DateTime representing today. It will be highlighted in the day grid.
finalinherited
customModePickerIcon Widget?
Custom icon for the mode picker button icon
finalinherited
dayBorderRadius BorderRadius?
Custom border radius for day indicator
finalinherited
dayBuilder CalendarDayBuilder?
Function to provide full control over day widget UI
finalinherited
dayTextStyle TextStyle?
Custom text style for all calendar days
finalinherited
dayTextStylePredicate CalendarDayTextStylePredicate?
Function to provide full control over calendar days text style
finalinherited
deshabilitarFinDeSemana bool
finalinherited
disabledDayTextStyle TextStyle?
Custom text style for disabled calendar day(s)
finalinherited
disableModePicker bool?
Flag to disable mode picker and hide the mode toggle button icon
finalinherited
firstDate DateTime
The earliest allowable DateTime that the user can select.
finalinherited
firstDayOfWeek int?
Index of the first day of week, where 0 points to Sunday, and 6 points to Saturday.
finalinherited
gapBetweenCalendarAndButtons double?
The gap between calendar and action buttons
final
hashCode int
The hash code for this object.
no setterinherited
lastDate DateTime
The latest allowable DateTime that the user can select.
finalinherited
lastMonthIcon Widget?
Custom icon for last month button control
finalinherited
modePickerTextHandler CalendarModePickerTextHandler?
Function to control mode picker displayed text
finalinherited
mostrarPrimeroMesActual bool
finalinherited
nextMonthIcon Widget?
Custom icon for next month button control
finalinherited
okButton Widget?
Custom ok button
final
okButtonTextStyle TextStyle?
Text style for ok button
final
openedFromDialog bool?
Is the calendar opened from dialog
final
rangeBidirectional bool
Whether the range selection can be also made in reverse-chronological order. Only applicable when calendarType is CalendarDatePicker2Type.range.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectableDayPredicate SelectableDayPredicate?
Function to provide full control over which dates in the calendar can be selected.
finalinherited
selectedDayHighlightColor Color?
The highlight color for selected day(s)
finalinherited
selectedDayTextStyle TextStyle?
Custom text style for selected calendar day(s)
finalinherited
selectedRangeDayTextStyle TextStyle?
Custom text style for selected range calendar day(s)
finalinherited
selectedRangeHighlightColor Color?
The highlight color for day(s) included in the selected range Only applicable when calendarType is CalendarDatePicker2Type.range
finalinherited
selectedYearTextStyle TextStyle?
finalinherited
todayTextStyle TextStyle?
Custom text style for today
finalinherited
weekdayLabels List<String>?
Custom weekday labels for the current locale, MUST starts from Sunday Examples:
finalinherited
weekdayLabelTextStyle TextStyle?
Custom text style for weekday labels
finalinherited
yearBorderRadius BorderRadius?
Custom border radius for year indicator
finalinherited
yearBuilder CalendarYearBuilder?
Function to provide full control over year widget UI
finalinherited
yearTextStyle TextStyle?
finalinherited

Methods

copyWith({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, TextStyle? selectedRangeDayTextStyle, Color? selectedDayHighlightColor, Color? selectedRangeHighlightColor, TextStyle? disabledDayTextStyle, TextStyle? todayTextStyle, TextStyle? yearTextStyle, TextStyle? selectedYearTextStyle, BorderRadius? dayBorderRadius, BorderRadius? yearBorderRadius, SelectableDayPredicate? selectableDayPredicate, CalendarDayTextStylePredicate? dayTextStylePredicate, CalendarDayBuilder? dayBuilder, CalendarYearBuilder? yearBuilder, bool? disableModePicker, bool? centerAlignModePicker, Widget? customModePickerIcon, CalendarModePickerTextHandler? modePickerTextHandler, double? gapBetweenCalendarAndButtons, TextStyle? cancelButtonTextStyle, Widget? cancelButton, TextStyle? okButtonTextStyle, Widget? okButton, bool? openedFromDialog, bool? closeDialogOnCancelTapped, bool? closeDialogOnOkTapped, EdgeInsets? buttonPadding, bool? rangeBidirectional, bool? deshabilitarFinDeSemana, bool? mostrarPrimeroMesActual, int? cantidadMesesAMostrar}) CalendarDatePicker2WithActionButtonsConfig
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited