class DatePickerColors


Colors for DatePicker.

Summary

Public constructors

DatePickerColors(
    activePickerContentColor: Color,
    inactivePickerContentColor: Color,
    invalidPickerContentColor: Color,
    pickerLabelColor: Color,
    nextButtonContentColor: Color,
    nextButtonContainerColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)

Public functions

DatePickerColors
copy(
    activePickerContentColor: Color,
    inactivePickerContentColor: Color,
    invalidPickerContentColor: Color,
    pickerLabelColor: Color,
    nextButtonContentColor: Color,
    nextButtonContainerColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)

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

open operator Boolean
equals(other: Any?)
open Int

Public properties

Color

The content color of the currently active picker section, that is, the section currently being changed, such as the day, month or year.

Color

The container color of the confirm button.

Color

The content color of the confirm button.

Color

The content color of an inactive picker section.

Color

The content color of invalid picker options.

Color

The container color of the next button.

Color

The content color of the next button.

Color

The color of the picker label.

Public constructors

DatePickerColors

DatePickerColors(
    activePickerContentColor: Color,
    inactivePickerContentColor: Color,
    invalidPickerContentColor: Color,
    pickerLabelColor: Color,
    nextButtonContentColor: Color,
    nextButtonContainerColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)
Parameters
activePickerContentColor: Color

The content color of the currently active picker section, that is, the section currently being changed, such as the day, month or year.

inactivePickerContentColor: Color

The content color of an inactive picker section.

invalidPickerContentColor: Color

The content color of invalid picker options. Picker options can be invalid when minDate or maxDate are specified for the DatePicker.

pickerLabelColor: Color

The color of the picker label.

nextButtonContentColor: Color

The content color of the next button.

nextButtonContainerColor: Color

The container color of the next button.

confirmButtonContentColor: Color

The content color of the confirm button.

confirmButtonContainerColor: Color

The container color of the confirm button.

Public functions

copy

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
activePickerContentColor: Color = this.activePickerContentColor

The content color of the currently active picker section, that is, the section currently being changed, such as the day, month or year.

inactivePickerContentColor: Color = this.inactivePickerContentColor

The content color of an inactive picker section.

invalidPickerContentColor: Color = this.invalidPickerContentColor

The content color of invalid picker options.

pickerLabelColor: Color = this.pickerLabelColor

The color of the picker label.

nextButtonContentColor: Color = this.nextButtonContentColor

The content color of the next button.

nextButtonContainerColor: Color = this.nextButtonContainerColor

The container color of the next button.

confirmButtonContentColor: Color = this.confirmButtonContentColor

The content color of the confirm button.

confirmButtonContainerColor: Color = this.confirmButtonContainerColor

The container color of the confirm button.

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

activePickerContentColor

Added in 1.0.0-alpha31
val activePickerContentColorColor

The content color of the currently active picker section, that is, the section currently being changed, such as the day, month or year.

confirmButtonContainerColor

Added in 1.0.0-alpha31
val confirmButtonContainerColorColor

The container color of the confirm button.

confirmButtonContentColor

Added in 1.0.0-alpha31
val confirmButtonContentColorColor

The content color of the confirm button.

inactivePickerContentColor

Added in 1.0.0-alpha31
val inactivePickerContentColorColor

The content color of an inactive picker section.

invalidPickerContentColor

Added in 1.0.0-alpha31
val invalidPickerContentColorColor

The content color of invalid picker options. Picker options can be invalid when minDate or maxDate are specified for the DatePicker.

nextButtonContainerColor

Added in 1.0.0-alpha31
val nextButtonContainerColorColor

The container color of the next button.

nextButtonContentColor

Added in 1.0.0-alpha31
val nextButtonContentColorColor

The content color of the next button.

pickerLabelColor

Added in 1.0.0-alpha31
val pickerLabelColorColor

The color of the picker label.