class TimePickerColors


Represents the colors used by a TimePicker.

Summary

Public constructors

TimePickerColors(
    selectedPickerContentColor: Color,
    unselectedPickerContentColor: Color,
    separatorColor: Color,
    pickerLabelColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)

Public functions

TimePickerColors
copy(
    selectedPickerContentColor: Color,
    unselectedPickerContentColor: Color,
    separatorColor: Color,
    pickerLabelColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)

Returns a copy of this TimePickerColors( optionally overriding some of the values.

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

Public properties

Color

The container color of the confirm button.

Color

The content color of the confirm button.

Color

The color of the picker label.

Color

The content color of selected picker.

Color

The color of separator between the pickers.

Color

The content color of unselected pickers.

Public constructors

TimePickerColors

TimePickerColors(
    selectedPickerContentColor: Color,
    unselectedPickerContentColor: Color,
    separatorColor: Color,
    pickerLabelColor: Color,
    confirmButtonContentColor: Color,
    confirmButtonContainerColor: Color
)
Parameters
selectedPickerContentColor: Color

The content color of selected picker.

unselectedPickerContentColor: Color

The content color of unselected pickers.

separatorColor: Color

The color of separator between the pickers.

pickerLabelColor: Color

The color of the picker label.

confirmButtonContentColor: Color

The content color of the confirm button.

confirmButtonContainerColor: Color

The container color of the confirm button.

Public functions

copy

fun copy(
    selectedPickerContentColor: Color = this.selectedPickerContentColor,
    unselectedPickerContentColor: Color = this.unselectedPickerContentColor,
    separatorColor: Color = this.separatorColor,
    pickerLabelColor: Color = this.pickerLabelColor,
    confirmButtonContentColor: Color = this.confirmButtonContentColor,
    confirmButtonContainerColor: Color = this.confirmButtonContainerColor
): TimePickerColors

Returns a copy of this TimePickerColors( optionally overriding some of the values.

Parameters
selectedPickerContentColor: Color = this.selectedPickerContentColor

The content color of selected picker.

unselectedPickerContentColor: Color = this.unselectedPickerContentColor

The content color of unselected pickers.

separatorColor: Color = this.separatorColor

The color of separator between the pickers.

pickerLabelColor: Color = this.pickerLabelColor

The color of the picker label.

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

confirmButtonContainerColor

Added in 1.0.0-alpha30
val confirmButtonContainerColorColor

The container color of the confirm button.

confirmButtonContentColor

Added in 1.0.0-alpha30
val confirmButtonContentColorColor

The content color of the confirm button.

pickerLabelColor

Added in 1.0.0-alpha30
val pickerLabelColorColor

The color of the picker label.

selectedPickerContentColor

Added in 1.0.0-alpha30
val selectedPickerContentColorColor

The content color of selected picker.

separatorColor

Added in 1.0.0-alpha30
val separatorColorColor

The color of separator between the pickers.

unselectedPickerContentColor

Added in 1.0.0-alpha30
val unselectedPickerContentColorColor

The content color of unselected pickers.