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 is 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 is 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

copy a new instance

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