DatePickerDefaults
object DatePickerDefaults
Contains the default values used by DatePicker
Summary
Public functions |
|
|---|---|
DatePickerColors |
Creates a |
DatePickerColors |
@ComposableCreates a |
Public properties |
|
|---|---|
DatePickerType |
The default |
Public functions
datePickerColors
@Composable
fun datePickerColors(): DatePickerColors
Creates a DatePickerColors for a DatePicker.
datePickerColors
@Composable
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: Color = Color.Unspecified |
The content color of the currently active picker. |
inactivePickerContentColor: Color = Color.Unspecified |
The content color of an inactive picker. |
invalidPickerContentColor: Color = Color.Unspecified |
The content color of invalid picker options. Picker options can be invalid when minValidDate or maxValidDate are specified for the |
pickerLabelColor: Color = Color.Unspecified |
The color of the picker label. |
nextButtonContentColor: Color = Color.Unspecified |
The content color of the next button. |
nextButtonContainerColor: Color = Color.Unspecified |
The container color of the next button. |
confirmButtonContentColor: Color = Color.Unspecified |
The content color of the confirm button. |
confirmButtonContainerColor: Color = Color.Unspecified |
The container color of the confirm button. |
Public properties
datePickerType
val datePickerType: DatePickerType
The default DatePickerType for DatePicker aligns with the current system date format.