DatePickerColors

Class

Android
public class DatePickerColors(
    public val activePickerContentColor: Color,
    public val inactivePickerContentColor: Color,
    public val invalidPickerContentColor: Color,
    public val pickerLabelColor: Color,
    public val nextButtonContentColor: Color,
    public val nextButtonContainerColor: Color,
    public val confirmButtonContentColor: Color,
    public val confirmButtonContainerColor: Color,
)

Colors for DatePicker.

Parameters

activePickerContentColorThe content color of the currently active picker, that is, the picker currently being changed, such as the day, month or year.
inactivePickerContentColorThe content color of an inactive picker.
invalidPickerContentColorThe content color of invalid picker options. Picker options can be invalid when minValidDate or maxValidDate are specified for the DatePicker.
pickerLabelColorThe color of the picker label.
nextButtonContentColorThe content color of the next button.
nextButtonContainerColorThe container color of the next button.
confirmButtonContentColorThe content color of the confirm button.
confirmButtonContainerColorThe container color of the confirm button.

Functions

public fun copy(
        activePickerContentColor: Color = this.activePickerContentColor,
        inactivePickerContentColor: Color = this.inactivePickerContentColor,
        invalidPickerContentColor: Color = this.invalidPickerContentColor,
        pickerLabelColor: Color = this.pickerLabelColor,
        nextButtonContentColor: Color = this.nextButtonContentColor,
        nextButtonContainerColor: Color = this.nextButtonContainerColor,
        confirmButtonContentColor: Color = this.confirmButtonContentColor,
        confirmButtonContainerColor: Color = this.confirmButtonContainerColor,
    ): DatePickerColors

Returns a copy of this DatePickerColors, optionally overriding some of the values.

Parameters

activePickerContentColorThe content color of the currently active picker, that is, the picker currently being changed, such as the day, month or year.
inactivePickerContentColorThe content color of an inactive picker.
invalidPickerContentColorThe content color of invalid picker options.
pickerLabelColorThe color of the picker label.
nextButtonContentColorThe content color of the next button.
nextButtonContainerColorThe container color of the next button.
confirmButtonContentColorThe content color of the confirm button.
confirmButtonContainerColorThe container color of the confirm button.