Android
public object DatePickerDefaults
Contains the default values used by DatePicker
Functions
datePickerColors
@Composable
public fun datePickerColors(): DatePickerColors
Creates a DatePickerColors for a DatePicker.
datePickerColors
@Composable
public fun datePickerColors(
activePickerContentColor: Color = Color.Unspecified,
inactivePickerContentColor: Color = Color.Unspecified,
invalidPickerContentColor: Color = Color.Unspecified,
pickerLabelColor: Color = Color.Unspecified,
nextButtonContentColor: Color = Color.Unspecified,
nextButtonContainerColor: Color = Color.Unspecified,
confirmButtonContentColor: Color = Color.Unspecified,
confirmButtonContainerColor: Color = Color.Unspecified,
): DatePickerColors
Creates a DatePickerColors for a DatePicker.
Parameters
| activePickerContentColor | The content color of the currently active picker. |
| inactivePickerContentColor | The content color of an inactive picker. |
| invalidPickerContentColor | The content color of invalid picker options. Picker options can be invalid when minValidDate or maxValidDate are specified for the DatePicker. |
| pickerLabelColor | The color of the picker label. |
| nextButtonContentColor | The content color of the next button. |
| nextButtonContainerColor | The container color of the next button. |
| confirmButtonContentColor | The content color of the confirm button. |
| confirmButtonContainerColor | The container color of the confirm button. |