ListItemColors

@Immutable
class ListItemColors(val containerColor: Color, val headlineColor: Color, val leadingIconColor: Color, val overlineColor: Color, val supportingTextColor: Color, val trailingIconColor: Color, val disabledHeadlineColor: Color, val disabledLeadingIconColor: Color, val disabledTrailingIconColor: Color)

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.

Properties

Link copied to clipboard
val containerColor: Color
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val headlineColor: Color
Link copied to clipboard
val leadingIconColor: Color
Link copied to clipboard
val overlineColor: Color
Link copied to clipboard
Link copied to clipboard