ListItemColors
@Immutable
Represents the container and content colors used in a list item in different states.
Parameters
containerColor
the container color of this list item when enabled.
headlineColor
the headline text content color of this list item when enabled.
leadingIconColor
the color of this list item's leading content when enabled.
overlineColor
the overline text color of this list item
supportingTextColor
the supporting text color of this list item
trailingIconColor
the color of this list item's trailing content when enabled.
disabledHeadlineColor
the content color of this list item when not enabled.
disabledLeadingIconColor
the color of this list item's leading content when not enabled.
disabledTrailingIconColor
the color of this list item's trailing content when not enabled.
Constructors
Link copied to clipboard
constructor(containerColor: Color, headlineColor: Color, leadingIconColor: Color, overlineColor: Color, supportingTextColor: Color, trailingIconColor: Color, disabledHeadlineColor: Color, disabledLeadingIconColor: Color, disabledTrailingIconColor: Color)
create an instance with arbitrary colors. See ListItemDefaults.colors for the default colors used in a ListItem.