CalendarDatePicker2Config class
- Implementers
Constructors
-
CalendarDatePicker2Config({CalendarDatePicker2Type? calendarType, DateTime? firstDate, DateTime? lastDate, DateTime? currentDate, DatePickerMode? calendarViewMode, List<
String> ? weekdayLabels, TextStyle? weekdayLabelTextStyle, double? controlsHeight, Widget? lastMonthIcon, Widget? nextMonthIcon, TextStyle? controlsTextStyle, TextStyle? dayTextStyle, TextStyle? selectedDayTextStyle, Color? selectedDayHighlightColor, TextStyle? disabledDayTextStyle, TextStyle? todayTextStyle, TextStyle? yearTextStyle, BorderRadius? dayBorderRadius, BorderRadius? yearBorderRadius})
Properties
- calendarType → CalendarDatePicker2Type
-
The enabled date picker mode
final
- calendarViewMode → DatePickerMode
-
The initially displayed view of the calendar picker.
final
- controlsHeight → double?
-
Custom height for calendar control toggle's height
final
- controlsTextStyle → TextStyle?
-
Custom text style for calendar mode toggle control
final
- currentDate → DateTime
-
The DateTime representing today. It will be highlighted in the day grid.
final
- dayBorderRadius → BorderRadius?
-
Custom border radius for day indicator
final
- dayTextStyle → TextStyle?
-
Custom text style for calendar day text
final
- disabledDayTextStyle → TextStyle?
-
Custom text style for disabled calendar day(s)
final
- firstDate → DateTime
-
The earliest allowable DateTime that the user can select.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastDate → DateTime
-
The latest allowable DateTime that the user can select.
final
- lastMonthIcon → Widget?
-
Custom icon for last month button control
final
- nextMonthIcon → Widget?
-
Custom icon for next month button control
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedDayHighlightColor → Color?
-
The highlight color for selected day
final
- selectedDayTextStyle → TextStyle?
-
Custom text style for selected calendar day(s)
final
- todayTextStyle → TextStyle?
-
Custom text style for the current day
final
-
weekdayLabels
→ List<
String> ? -
Custom weekday labels for the current locale
final
- weekdayLabelTextStyle → TextStyle?
-
Custom text style for weekday labels
final
- yearBorderRadius → BorderRadius?
-
Custom border radius for year indicator
final
- yearTextStyle → TextStyle?
-
final
Methods
-
copyWith(
{CalendarDatePicker2Type? calendarType, DateTime? firstDate, DateTime? lastDate, DateTime? currentDate, DatePickerMode? calendarViewMode, List< String> ? weekdayLabels, TextStyle? weekdayLabelTextStyle, double? controlsHeight, Widget? lastMonthIcon, Widget? nextMonthIcon, TextStyle? controlsTextStyle, TextStyle? dayTextStyle, TextStyle? selectedDayTextStyle, Color? selectedDayHighlightColor, TextStyle? disabledDayTextStyle, TextStyle? todayTextStyle, TextStyle? yearTextStyle, BorderRadius? dayBorderRadius, BorderRadius? yearBorderRadius}) → CalendarDatePicker2Config -
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