DatePickerColors

interface DatePickerColors

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

See DatePickerDefaults.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

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

headerBackgroundColor
Link copied to clipboard
abstract val headerBackgroundColor: Color
headerTextColor
Link copied to clipboard
abstract val headerTextColor: Color