colors

fun colors(    headerBackgroundColor: Color = MaterialTheme.colors.primary,     headerTextColor: Color = MaterialTheme.colors.onPrimary,     calendarHeaderTextColor: Color = MaterialTheme.colors.onBackground,     dateActiveBackgroundColor: Color = MaterialTheme.colors.primary,     dateInactiveBackgroundColor: Color = Color.Transparent,     dateActiveTextColor: Color = MaterialTheme.colors.onPrimary,     dateInactiveTextColor: Color = MaterialTheme.colors.onBackground): DatePickerColors

Initialises a DatePickerColors object which represents the different colors used by the datepicker composable

Parameters

headerBackgroundColor

background color of header

headerTextColor

color of text on the header

calendarHeaderTextColor

color of text on the calendar header (year selector and days of week)

dateActiveBackgroundColor

background color of date when selected

dateActiveTextColor

color of date text when selected

dateInactiveBackgroundColor

background color of date when not selected

dateInactiveTextColor

color of date text when not selected