DatePickerColors

constructor(containerColor: Color, titleContentColor: Color, headlineContentColor: Color, weekdayContentColor: Color, subheadContentColor: Color, navigationContentColor: Color, yearContentColor: Color, disabledYearContentColor: Color, currentYearContentColor: Color, selectedYearContentColor: Color, disabledSelectedYearContentColor: Color, selectedYearContainerColor: Color, disabledSelectedYearContainerColor: Color, dayContentColor: Color, disabledDayContentColor: Color, selectedDayContentColor: Color, disabledSelectedDayContentColor: Color, selectedDayContainerColor: Color, disabledSelectedDayContainerColor: Color, todayContentColor: Color, todayDateBorderColor: Color, dayInSelectionRangeContainerColor: Color, dayInSelectionRangeContentColor: Color, dividerColor: Color, dateTextFieldColors: TextFieldColors)

create an instance with arbitrary colors, see DatePickerDefaults.colors for the default implementation that follows Material specifications.

Parameters

containerColor

the color used for the date picker's background

titleContentColor

the color used for the date picker's title

headlineContentColor

the color used for the date picker's headline

weekdayContentColor

the color used for the weekday letters

subheadContentColor

the color used for the month and year subhead labels that appear when months are displayed at a DateRangePicker.

navigationContentColor

the content color used for the year selection menu button and the months arrow navigation when displayed at a DatePicker.

yearContentColor

the color used for a year item content

disabledYearContentColor

the color used for a disabled year item content

currentYearContentColor

the color used for the current year content when selecting a year

selectedYearContentColor

the color used for a selected year item content

disabledSelectedYearContentColor

the color used for a disabled selected year item content

selectedYearContainerColor

the color used for a selected year item container

disabledSelectedYearContainerColor

the color used for a disabled selected year item container

dayContentColor

the color used for days content

disabledDayContentColor

the color used for disabled days content

selectedDayContentColor

the color used for selected days content

disabledSelectedDayContentColor

the color used for disabled selected days content

selectedDayContainerColor

the color used for a selected day container

disabledSelectedDayContainerColor

the color used for a disabled selected day container

todayContentColor

the color used for the day that marks the current date

todayDateBorderColor

the color used for the border of the day that marks the current date

dayInSelectionRangeContentColor

the content color used for days that are within a date range selection

dayInSelectionRangeContainerColor

the container color used for days that are within a date range selection

dividerColor

the color used for the dividers used at the date pickers

dateTextFieldColors

the TextFieldColors defaults for the date text field when in DisplayMode.Input. See OutlinedTextFieldDefaults.colors.