TimePickerColors

interface TimePickerColors

Represents the colors used by a timepicker and its parts in different states

See TimePickerDefaults.colors for the default implementation

Functions

Link copied to clipboard
abstract fun backgroundColor(active: Boolean): State<Color>

Gets the background color dependant on if the item is active or not

Link copied to clipboard
abstract fun headerTextColor(): Color

Get color of title text

Link copied to clipboard
abstract fun periodBackgroundColor(active: Boolean): State<Color>
Link copied to clipboard
abstract fun selectorColor(): Color

Get the color of clock hand and color of text in clock hand

Link copied to clipboard
abstract fun selectorTextColor(): Color
Link copied to clipboard
abstract fun textColor(active: Boolean): State<Color>

Gets the text color dependant on if the item is active or not

Properties

Link copied to clipboard
abstract val border: BorderStroke