UnifiedInputDatePickerStyle class
Visual styling for showUnifiedFieldsDatePicker calendar sheets and related UI.
Set on UnifiedInputThemeData.datePickerStyle or pass per UnifiedDateField
via datePickerStyle. Omit any slot to use palette / ThemeData defaults from
resolve.
Wheel columns use wheelStyle; when null, wheels use UnifiedFieldsDateWheelStyle.forPicker.
- Annotations
Constructors
- UnifiedInputDatePickerStyle({Color? sheetBackgroundColor, double? dialogBorderRadius, TextStyle? titleStyle, Color? closeIconColor, TextStyle? rangeHintStyle, Color? calendarToggleSelectedBackground, Color? calendarToggleSelectedForeground, Color? calendarToggleBackground, Color? calendarToggleForeground, TextStyle? monthTitleStyle, TextStyle? weekdayTextStyle, double? dayFontSize, FontWeight? dayFontWeight, FontWeight? dayFontWeightSelected, Color? dayTextColor, Color? dayDisabledTextColor, Color? daySelectedBackgroundColor, Color? daySelectedTextColor, Color? dayTodayBorderColor, Color? dayTodayTextColor, Color? dayRangeMiddleBackgroundColor, double? dayCircleSize, double? cellHeight, Color? monthJumpSelectedBackground, Color? monthJumpSelectedBorderColor, Color? monthJumpSelectedTextColor, Color? monthJumpBackground, Color? monthJumpBorderColor, Color? monthJumpTextColor, double? monthJumpDisabledOpacity, double? monthJumpFontSize, Color? yearListSelectedBackground, Color? yearListSelectedTextColor, Color? yearListTextColor, Color? yearListCheckmarkColor, TextStyle? cancelButtonTextStyle, Color? confirmButtonBackground, Color? confirmButtonForeground, TextStyle? confirmButtonTextStyle, TextStyle? shamsiTextStyle, UnifiedFieldsDateWheelStyle? wheelStyle, UnifiedFieldsDateYearStripStyle? yearStripStyle})
-
Creates date-picker chrome overrides (all optional).
const
Properties
- calendarToggleBackground → Color?
-
Gregorian / Shamsi toggle — unselected segment background.
final
- calendarToggleForeground → Color?
-
Gregorian / Shamsi toggle — unselected segment label color.
final
- calendarToggleSelectedBackground → Color?
-
Gregorian / Shamsi toggle — selected segment background.
final
- calendarToggleSelectedForeground → Color?
-
Gregorian / Shamsi toggle — selected segment label color.
final
- cancelButtonTextStyle → TextStyle?
-
Cancel text button label style.
final
- cellHeight → double?
-
Height of each day row in the month grid.
final
- closeIconColor → Color?
-
Close icon on the title row.
final
- confirmButtonBackground → Color?
-
Confirm FilledButton background.
final
- confirmButtonForeground → Color?
-
Confirm FilledButton foreground (label + icon).
final
- confirmButtonTextStyle → TextStyle?
-
Confirm button label style (color may be overridden by confirmButtonForeground).
final
- dayCircleSize → double?
-
Diameter of the circular day indicator (selected / today).
final
- dayDisabledTextColor → Color?
-
Out-of-range / disabled day label color.
final
- dayFontSize → double?
-
Day numeral font size in the month grid.
final
- dayFontWeight → FontWeight?
-
Font weight for normal (non-endpoint) days.
final
- dayFontWeightSelected → FontWeight?
-
Font weight for selected range endpoints / selected day.
final
- dayRangeMiddleBackgroundColor → Color?
-
Background for days between range endpoints.
final
- daySelectedBackgroundColor → Color?
-
Filled circle behind a selected day or range endpoint.
final
- daySelectedTextColor → Color?
-
Text on daySelectedBackgroundColor.
final
- dayTextColor → Color?
-
Default day label color.
final
- dayTodayBorderColor → Color?
-
Border around “today” when not selected.
final
- dayTodayTextColor → Color?
-
“Today” label when not selected (falls back to dayTextColor).
final
- dialogBorderRadius → double?
-
Corner radius when shown as a centered dialog (desktop layout).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- monthJumpBackground → Color?
-
Month jump grid — unselected cell fill.
final
- monthJumpBorderColor → Color?
-
Month jump grid — unselected cell border.
final
- monthJumpDisabledOpacity → double?
-
Opacity applied to disabled month jump cells.
final
- monthJumpFontSize → double?
-
Month jump cell label font size.
final
- monthJumpSelectedBackground → Color?
-
Month jump grid — selected cell fill.
final
- monthJumpSelectedBorderColor → Color?
-
Month jump grid — selected cell border.
final
- monthJumpSelectedTextColor → Color?
-
Month jump grid — selected label color.
final
- monthJumpTextColor → Color?
-
Month jump grid — unselected label color.
final
-
Month navigation chevrons and dropdown affordance.
final
- monthTitleStyle → TextStyle?
-
Center month/year label in the day calendar header.
final
- rangeHintStyle → TextStyle?
-
Hint under the title in range-pick mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shamsiTextStyle → TextStyle?
-
Optional style merged into picker text when the active calendar is Shamsi (Jalali).
final
- sheetBackgroundColor → Color?
-
Sheet / dialog surface behind the picker.
final
- titleStyle → TextStyle?
-
Title row text (field label / sheet title).
final
- weekdayTextStyle → TextStyle?
-
Narrow weekday names row (Mon, Tue, …).
final
- wheelStyle → UnifiedFieldsDateWheelStyle?
-
Wheel picker chrome; merged with UnifiedFieldsDateWheelStyle.forPicker defaults.
final
- yearListCheckmarkColor → Color?
-
Year list — trailing check icon when selected.
final
- yearListSelectedBackground → Color?
-
Year list — selected row background (month/year granularity).
final
- yearListSelectedTextColor → Color?
-
Year list — selected row text / check color.
final
- yearListTextColor → Color?
-
Year list — unselected row text color.
final
- yearStripStyle → UnifiedFieldsDateYearStripStyle?
-
Horizontal year strip (month/year jump + month granularity): fade, magnification, sizing.
final
Methods
-
applyDefaults(
UnifiedInputPalette palette, ThemeData theme, {Color? sheetBackground}) → UnifiedInputDatePickerStyle -
Fills unset values from
paletteandtheme. -
calendarTextStyle(
TextStyle style, UnifiedFieldsCalendarKind calendarKind) → TextStyle -
Returns
style, merging shamsiTextStyle whencalendarKindis UnifiedFieldsCalendarKind.jalali. -
merge(
UnifiedInputDatePickerStyle? other) → UnifiedInputDatePickerStyle -
Merges
otheron top of this (non-null fields fromotherwin). -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolvedYearStripStyle(
) → UnifiedFieldsDateYearStripStyle - Resolved year-strip chrome for sheetBackgroundColor.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited