TimePickerColors

interface TimePickerColors

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

See TimePickerDefaults.colors for the default implementation

Functions

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

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

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

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

Properties

border
Link copied to clipboard
abstract val border: BorderStroke