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.ktline 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.ktline 1544.) - firstYear → const double
-
The default year range's first year (DatePickerDefaults.YearRange).
(
DatePicker.ktline 787.) - headlinePaddingBottom → const Dp
-
The padding under the header's headline (DatePickerHeadlinePadding).
(
DatePicker.ktline 2626.) - horizontalPadding → const Dp
-
The padding either side of the month navigation, the weekdays and the
calendar (DatePickerHorizontalPadding). (
DatePicker.ktline 2622.) - lastYear → const double
-
The default year range's last year (DatePickerDefaults.YearRange).
(
DatePicker.ktline 787.) - maxCalendarRows → const double
-
The week rows every month lays out, so months page at one height
(MaxCalendarRows). (
DatePicker.ktline 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.ktline 1487.) - modeTogglePaddingBottom → const Dp
-
The padding under the header's mode toggle (DatePickerModeTogglePadding).
(
DatePicker.ktline 2623.) - modeTogglePaddingEnd → const Dp
-
The padding after the header's mode toggle (DatePickerModeTogglePadding).
(
DatePicker.ktline 2623.) - monthYearHeight → const Dp
-
The height of the row with the year menu button and the month arrows
(MonthYearHeight). (
DatePicker.ktline 2620.) - titlePaddingEnd → const Dp
-
The padding after the header's title and headline. (
DatePicker.ktline 2625.) - titlePaddingStart → const Dp
-
The padding before the header's title and headline
(DatePickerTitlePadding, DatePickerHeadlinePadding). (
DatePicker.ktline 2625.) - titlePaddingTop → const Dp
-
The padding above the header's title. (
DatePicker.ktline 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.ktline 1685.) - yearsInRow → const double
-
The year grid's columns (YearsInRow). (
DatePicker.ktline 2632.) - yearsVerticalSpacing → const Dp
-
The gap between the year grid's rows (YearsVerticalPadding).
(
DatePicker.ktline 2629.)