ListItemColors

@Immutable
class ListItemColors

Represents the container and content colors used in a list item in different states.

Properties

Link copied to clipboard
val backgroundColor: Color

For background shape color.

Link copied to clipboard
val headlineColor: Color

Headline content color, usually for text color.

Link copied to clipboard
val leadingColor: Color

Leading content color, such as icon & text color.

Link copied to clipboard
val supportingColor: Color

Supporting content color, usually for text color.

Link copied to clipboard
val trailingColor: Color

Trailing content color, such as icon & text color.

Functions

Link copied to clipboard
fun copy(backgroundColor: Color = this.backgroundColor, leadingColor: Color = this.leadingColor, headlineColor: Color = this.headlineColor, supportingColor: Color = this.supportingColor, trailingColor: Color = this.trailingColor): ListItemColors

Copies a new instance.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int