Dropdown Colors
constructor(contentColor: Color, summaryColor: Color, containerColor: Color, selectedContentColor: Color, selectedSummaryColor: Color, selectedContainerColor: Color, selectedIndicatorColor: Color, disabledContentColor: Color = contentColor, alertContentColor: Color = contentColor, headerColor: Color = summaryColor)
Parameters
content Color
The text color of an unselected option.
summary Color
The summary text color of an unselected option.
container Color
The background color of an unselected option.
selected Content Color
The text color of the selected option.
selected Summary Color
The summary text color of the selected option.
selected Container Color
The background color of the selected option.
selected Indicator Color
The color of the selected indicator icon.
disabled Content Color
The text color of a disabled option. Defaults to contentColor so existing constructor calls keep compiling; DropdownDefaults.dropdownColors supplies the COUI value.
alert Content Color
The text color of an alert (destructive) option. Defaults to contentColor, i.e. no alert tint unless a caller opts in.
header Color
The title color of a DropdownHeaderItem group header row. Defaults to summaryColor, which already carries the same couiColorLabelSecondary value.