MenuItemColors

constructor(textColor: Color, leadingIconColor: Color, trailingIconColor: Color, disabledTextColor: Color, disabledLeadingIconColor: Color, disabledTrailingIconColor: Color)

create an instance with arbitrary colors. See MenuDefaults.itemColors for the default colors used in a DropdownMenuItemContent.

Parameters

textColor

the text color of this DropdownMenuItemContent when enabled

leadingIconColor

the leading icon color of this DropdownMenuItemContent when enabled

trailingIconColor

the trailing icon color of this DropdownMenuItemContent when enabled

disabledTextColor

the text color of this DropdownMenuItemContent when not enabled

disabledLeadingIconColor

the leading icon color of this DropdownMenuItemContent when not enabled

disabledTrailingIconColor

the trailing icon color of this DropdownMenuItemContent when not enabled