DatePickerBehavior class abstract final

What Compose's DatePicker sets in code (behavior.yaml, verified at the pin).

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

cellSize → const Dp
A calendar cell's side and a week row's height (RecommendedSizeForAccessibility): the 40dp day sits centred in it, and the weekday letters share it. (DatePicker.kt line 2618.)
disabledAlpha → const double
A disabled day's and year's colours: the enabled ones at this alpha (DatePickerColors' and TimePicker's defaults apply ColorScheme.kt's DisabledAlpha, no token states it). (ColorScheme.kt line 1544.)
firstYear → const double
The default year range's first year (DatePickerDefaults.YearRange). (DatePicker.kt line 787.)
headlinePaddingBottom → const Dp
The padding under the header's headline (DatePickerHeadlinePadding). (DatePicker.kt line 2626.)
horizontalPadding → const Dp
The padding either side of the month navigation, the weekdays and the calendar (DatePickerHorizontalPadding). (DatePicker.kt line 2622.)
lastYear → const double
The default year range's last year (DatePickerDefaults.YearRange). (DatePicker.kt line 787.)
maxCalendarRows → const double
The week rows every month lays out, so months page at one height (MaxCalendarRows). (DatePicker.kt line 2631.)
modeParallax → const Dp
How far the outgoing content slides up (and the calendar slides in from) when the picker switches between calendar and input (SwitchableDateEntryContent's parallaxTarget). (DatePicker.kt line 1487.)
modeTogglePaddingBottom → const Dp
The padding under the header's mode toggle (DatePickerModeTogglePadding). (DatePicker.kt line 2623.)
modeTogglePaddingEnd → const Dp
The padding after the header's mode toggle (DatePickerModeTogglePadding). (DatePicker.kt line 2623.)
monthYearHeight → const Dp
The height of the row with the year menu button and the month arrows (MonthYearHeight). (DatePicker.kt line 2620.)
titlePaddingEnd → const Dp
The padding after the header's title and headline. (DatePicker.kt line 2625.)
titlePaddingStart → const Dp
The padding before the header's title and headline (DatePickerTitlePadding, DatePickerHeadlinePadding). (DatePicker.kt line 2625.)
titlePaddingTop → const Dp
The padding above the header's title. (DatePicker.kt line 2625.)
yearsFadeInAlpha → const double
The alpha the year grid fades in from as it expands over the calendar (YearPicker's AnimatedVisibility, fadeIn(initialAlpha = 0.6f)). (DatePicker.kt line 1685.)
yearsInRow → const double
The year grid's columns (YearsInRow). (DatePicker.kt line 2632.)
yearsVerticalSpacing → const Dp
The gap between the year grid's rows (YearsVerticalPadding). (DatePicker.kt line 2629.)