TimePickerColors

constructor(clockDialColor: Color, selectorColor: Color, containerColor: Color, periodSelectorBorderColor: Color, clockDialSelectedContentColor: Color, clockDialUnselectedContentColor: Color, periodSelectorSelectedContainerColor: Color, periodSelectorUnselectedContainerColor: Color, periodSelectorSelectedContentColor: Color, periodSelectorUnselectedContentColor: Color, timeSelectorSelectedContainerColor: Color, timeSelectorUnselectedContainerColor: Color, timeSelectorSelectedContentColor: Color, timeSelectorUnselectedContentColor: Color)

create an instance with arbitrary colors. See TimePickerDefaults.colors for the default implementation that follows Material specifications.

Parameters

clockDialColor

The color of the clock dial.

clockDialSelectedContentColor

the color of the numbers of the clock dial when they are selected or overlapping with the selector

clockDialUnselectedContentColor

the color of the numbers of the clock dial when they are unselected

selectorColor

The color of the clock dial selector.

containerColor

The container color of the time picker.

periodSelectorBorderColor

the color used for the border of the AM/PM toggle.

periodSelectorSelectedContainerColor

the color used for the selected container of the AM/PM toggle

periodSelectorUnselectedContainerColor

the color used for the unselected container of the AM/PM toggle

periodSelectorSelectedContentColor

color used for the selected content of the AM/PM toggle

periodSelectorUnselectedContentColor

color used for the unselected content of the AM/PM toggle

timeSelectorSelectedContainerColor

color used for the selected container of the display buttons to switch between hour and minutes

timeSelectorUnselectedContainerColor

color used for the unselected container of the display buttons to switch between hour and minutes

timeSelectorSelectedContentColor

color used for the selected content of the display buttons to switch between hour and minutes

timeSelectorUnselectedContentColor

color used for the unselected content of the display buttons to switch between hour and minutes