DatePickerDefaults

object DatePickerDefaults

Object to hold default values used by datepicker

Functions

colors
Link copied to clipboard
@Composable
fun colors(headerBackgroundColor: Color = MaterialTheme.colors.primary, headerTextColor: Color = MaterialTheme.colors.onPrimary, activeBackgroundColor: Color = MaterialTheme.colors.primary, inactiveBackgroundColor: Color = Color.Transparent, activeTextColor: Color = MaterialTheme.colors.onPrimary, inactiveTextColor: Color = MaterialTheme.colors.onBackground): DatePickerColors

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