DatePickerDefaults

Contains default values used by the DatePicker.

Functions

Link copied to clipboard
fun dateFormatter(yearSelectionSkeleton: String = YearMonthSkeleton, selectedDateSkeleton: String = YearAbbrMonthDaySkeleton, selectedDateDescriptionSkeleton: String = YearMonthWeekdayDaySkeleton): DatePickerFormatter

The date formatter will apply the best possible localized form of the given skeleton and Locale. A skeleton is similar to, and uses the same format characters as, a Unicode UTS #35 pattern.

Link copied to clipboard

Default colors for DatePicker.

Link copied to clipboard

Default vibrants for DatePicker.

@Composable
fun datePickerVibrants(primaryContentVibrant: Vibrant = Vibrant.Unspecified, weekTextVibrant: Vibrant = Vibrant.Unspecified, inactiveDateVibrant: Vibrant = Vibrant.Unspecified, selectedDateBackgroundVibrant: Vibrant = Vibrant.Unspecified, todayBackgroundVibrant: Vibrant = Vibrant.Unspecified, todayTextVibrant: Vibrant = Vibrant.Unspecified, rangeBackgroundVibrant: Vibrant = Vibrant.Unspecified): DatePickerVibrants

Custom vibrants for DatePicker.

Link copied to clipboard
@Composable
fun datePikerColors(primaryContentColor: Color = Color.Unspecified, weekTextColor: Color = Color.Unspecified, inactiveDateColor: Color = Color.Unspecified, selectedDateBackgroundColor: Color = Color.Unspecified, todayBackgroundColor: Color = Color.Unspecified, todayTextColor: Color = Color.Unspecified, rangeBackgroundColor: Color = Color.Unspecified): DatePickerColors

Custom colors for DatePicker.