TimePickerDefaults

object TimePickerDefaults

Object to hold default values used by timepicker

Functions

colors
Link copied to clipboard
@Composable
fun colors(activeBackgroundColor: Color = MaterialTheme.colors.primary.copy(0.3f), inactiveBackgroundColor: Color = MaterialTheme.colors.onBackground.copy(0.3f), activeTextColor: Color = MaterialTheme.colors.onPrimary, inactiveTextColor: Color = MaterialTheme.colors.onBackground, inactivePeriodBackground: Color = Color.Transparent, borderColor: Color = MaterialTheme.colors.onBackground, selectorColor: Color = MaterialTheme.colors.primary, selectorTextColor: Color = MaterialTheme.colors.onPrimary): TimePickerColors

Initialises a TimePickerColors object which represents the different colors used by the timepicker composable