# ListItemColors

Artifact: [androidx.compose.material3:material3](https://developer.android.com/jetpack/androidx/releases/compose-material3) [View Source](https://cs.android.com/search?q=file:androidx/compose/material3/ListItemDefaults.kt+class:androidx.compose.material3.ListItemColors) Common/AllAndroid/JVM
- Cmn

  ```
  class ListItemColors
  ```

*** ** * ** ***

Represents the colors of a list item in different states.

## Summary

| ### Public constructors |
|---|---|
| `[ListItemColors](https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#ListItemColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color))( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, headlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, overlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, supportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, trailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledHeadlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` **This function is deprecated.** Use overload with parameters for selected and dragged colors | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#ListItemColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, trailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, overlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, supportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#containerColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Returns the container color of the list item based on the current state. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#contentColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Returns the content color of the list item based on the current state. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `[copy](https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color))( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, headlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, overlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, supportingTextColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, trailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledHeadlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` **This function is deprecated.** Use overload with parameters for selected and dragged colors | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color)( containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, leadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, trailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, overlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, supportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, disabledSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, selectedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color, draggedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color )` Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors`, optionally overriding some of the values. | Cmn |
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#equals(kotlin.Any)(other: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#hashCode()()` | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#leadingContentColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Returns the color of the leading content of the list item based on the current state. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#overlineContentColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Returns the color of the overline content of the list item based on the current state. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#supportingContentColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)( enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html )` Returns the color of the supporting content of the list item based on the current state. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#trailingContentColor(kotlin.Boolean,kotlin.Boolean,kotlin.Boolean)(enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html, dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` Returns the color of the trailing content of the list item based on the current state. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#containerColor()` the container color of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#contentColor()` the content color of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledContainerColor()` the container color of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledContentColor()` the content color of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledHeadlineColor()` **This property is deprecated.** Renamed to disabledContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledLeadingContentColor()` the color of the leading content of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledLeadingIconColor()` **This property is deprecated.** Renamed to disabledLeadingContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledOverlineContentColor()` the color of the overline content of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledSupportingContentColor()` the color of the supporting content of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledTrailingContentColor()` the color of the trailing content of the list item when disabled. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#disabledTrailingIconColor()` **This property is deprecated.** Renamed to disabledTrailingContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedContainerColor()` the container color of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedContentColor()` the content color of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedLeadingContentColor()` the color of the leading content of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedOverlineContentColor()` the color of the overline content of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedSupportingContentColor()` the color of the supporting content of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#draggedTrailingContentColor()` the color of the trailing content of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#headlineColor()` **This property is deprecated.** Renamed to contentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#leadingContentColor()` the color of the leading content of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#leadingIconColor()` **This property is deprecated.** Renamed to leadingContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#overlineColor()` **This property is deprecated.** Renamed to overlineContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#overlineContentColor()` the color of the overline content of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedContainerColor()` the container color of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedContentColor()` the content color of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedLeadingContentColor()` the color of the leading content of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedOverlineContentColor()` the color of the overline content of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedSupportingContentColor()` the color of the supporting content of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#selectedTrailingContentColor()` the color of the trailing content of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#supportingContentColor()` the color of the supporting content of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#supportingTextColor()` **This property is deprecated.** Renamed to supportingContentColor | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#trailingContentColor()` the color of the trailing content of the list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#trailingIconColor()` **This property is deprecated.** Renamed to trailingContentColor | Cmn |

## Public constructors

### ListItemColors

Cmn

```
[ListItemColors](https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#ListItemColors(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color))(
    containerColor: Color,
    headlineColor: Color,
    leadingIconColor: Color,
    overlineColor: Color,
    supportingTextColor: Color,
    trailingIconColor: Color,
    disabledHeadlineColor: Color,
    disabledLeadingIconColor: Color,
    disabledTrailingIconColor: Color
)
```

> [!CAUTION]
> **This function is deprecated.**   
> Use overload with parameters for selected and dragged colors, use this instead:
>
> ```kotlin
> ListItemColors(containerColor = containerColor, contentColor = headlineColor, leadingContentColor = leadingIconColor, trailingContentColor = trailingIconColor, overlineContentColor = overlineColor, supportingContentColor = supportingTextColor, disabledContainerColor = Color.Unspecified, disabledContentColor = disabledHeadlineColor, disabledLeadingContentColor = disabledLeadingIconColor, disabledTrailingContentColor = disabledTrailingIconColor, disabledOverlineContentColor = Color.Unspecified, disabledSupportingContentColor = Color.Unspecified, selectedContainerColor = Color.Unspecified, selectedContentColor = Color.Unspecified, selectedLeadingContentColor = Color.Unspecified, selectedTrailingContentColor = Color.Unspecified, selectedOverlineContentColor = Color.Unspecified, selectedSupportingContentColor = Color.Unspecified, draggedContainerColor = Color.Unspecified, draggedContentColor = Color.Unspecified, draggedLeadingContentColor = Color.Unspecified, draggedTrailingContentColor = Color.Unspecified, draggedOverlineContentColor = Color.Unspecified, draggedSupportingContentColor = Color.Unspecified)
> ```

### ListItemColors

Cmn

```
ListItemColors(
    containerColor: Color,
    contentColor: Color,
    leadingContentColor: Color,
    trailingContentColor: Color,
    overlineContentColor: Color,
    supportingContentColor: Color,
    disabledContainerColor: Color,
    disabledContentColor: Color,
    disabledLeadingContentColor: Color,
    disabledTrailingContentColor: Color,
    disabledOverlineContentColor: Color,
    disabledSupportingContentColor: Color,
    selectedContainerColor: Color,
    selectedContentColor: Color,
    selectedLeadingContentColor: Color,
    selectedTrailingContentColor: Color,
    selectedOverlineContentColor: Color,
    selectedSupportingContentColor: Color,
    draggedContainerColor: Color,
    draggedContentColor: Color,
    draggedLeadingContentColor: Color,
    draggedTrailingContentColor: Color,
    draggedOverlineContentColor: Color,
    draggedSupportingContentColor: Color
)
```

| Parameters |
|---|---|
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color of the list item. |
| `contentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color of the list item. |
| `leadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the leading content of the list item. |
| `trailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the trailing content of the list item. |
| `overlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the overline content of the list item. |
| `supportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the supporting content of the list item. |
| `disabledContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color of the list item when disabled. |
| `disabledContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color of the list item when disabled. |
| `disabledLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the leading content of the list item when disabled. |
| `disabledTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the trailing content of the list item when disabled. |
| `disabledOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the overline content of the list item when disabled. |
| `disabledSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the supporting content of the list item when disabled. |
| `selectedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color of the list item when selected. |
| `selectedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color of the list item when selected. |
| `selectedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the leading content of the list item when selected. |
| `selectedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the trailing content of the list item when selected. |
| `selectedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the overline content of the list item when selected. |
| `selectedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the supporting content of the list item when selected. |
| `draggedContainerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the container color of the list item when dragged. |
| `draggedContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the content color of the list item when dragged. |
| `draggedLeadingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the leading content of the list item when dragged. |
| `draggedTrailingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the trailing content of the list item when dragged. |
| `draggedOverlineContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the overline content of the list item when dragged. |
| `draggedSupportingContentColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | the color of the supporting content of the list item when dragged. |

## Public functions

### containerColor

Cmn

```
fun containerColor(enabled: Boolean, selected: Boolean, dragged: Boolean): Color
```

Returns the container color of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

### contentColor

Cmn

```
fun contentColor(enabled: Boolean, selected: Boolean, dragged: Boolean): Color
```

Returns the content color of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

### copy

Cmn

```
fun [copy](https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors#copy(androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color,androidx.compose.ui.graphics.Color))(
    containerColor: Color = this.containerColor,
    headlineColor: Color = this.headlineColor,
    leadingIconColor: Color = this.leadingIconColor,
    overlineColor: Color = this.overlineColor,
    supportingTextColor: Color = this.supportingTextColor,
    trailingIconColor: Color = this.trailingIconColor,
    disabledHeadlineColor: Color = this.disabledHeadlineColor,
    disabledLeadingIconColor: Color = this.disabledLeadingIconColor,
    disabledTrailingIconColor: Color = this.disabledTrailingIconColor
): ListItemColors
```

> [!CAUTION]
> **This function is deprecated.**   
> Use overload with parameters for selected and dragged colors

### copy

Cmn

```
fun copy(
    containerColor: Color = this.containerColor,
    contentColor: Color = this.contentColor,
    leadingContentColor: Color = this.leadingContentColor,
    trailingContentColor: Color = this.trailingContentColor,
    overlineContentColor: Color = this.overlineContentColor,
    supportingContentColor: Color = this.supportingContentColor,
    disabledContainerColor: Color = this.disabledContainerColor,
    disabledContentColor: Color = this.disabledContentColor,
    disabledLeadingContentColor: Color = this.disabledLeadingContentColor,
    disabledTrailingContentColor: Color = this.disabledTrailingContentColor,
    disabledOverlineContentColor: Color = this.disabledOverlineContentColor,
    disabledSupportingContentColor: Color = this.disabledSupportingContentColor,
    selectedContainerColor: Color = this.selectedContainerColor,
    selectedContentColor: Color = this.selectedContentColor,
    selectedLeadingContentColor: Color = this.selectedLeadingContentColor,
    selectedTrailingContentColor: Color = this.selectedTrailingContentColor,
    selectedOverlineContentColor: Color = this.selectedOverlineContentColor,
    selectedSupportingContentColor: Color = this.selectedSupportingContentColor,
    draggedContainerColor: Color = this.draggedContainerColor,
    draggedContentColor: Color = this.draggedContentColor,
    draggedLeadingContentColor: Color = this.draggedLeadingContentColor,
    draggedTrailingContentColor: Color = this.draggedTrailingContentColor,
    draggedOverlineContentColor: Color = this.draggedOverlineContentColor,
    draggedSupportingContentColor: Color = this.draggedSupportingContentColor
): ListItemColors
```

Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors`, optionally overriding some of the values. This uses `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color#Unspecified()` to mean "use the value from the source".

### equals

Cmn

```
open operator fun equals(other: Any?): Boolean
```

### hashCode

Cmn

```
open fun hashCode(): Int
```

### leadingContentColor

Cmn

```
fun leadingContentColor(enabled: Boolean, selected: Boolean, dragged: Boolean): Color
```

Returns the color of the leading content of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

### overlineContentColor

Cmn

```
fun overlineContentColor(enabled: Boolean, selected: Boolean, dragged: Boolean): Color
```

Returns the color of the overline content of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

### supportingContentColor

Cmn

```
fun supportingContentColor(
    enabled: Boolean,
    selected: Boolean,
    dragged: Boolean
): Color
```

Returns the color of the supporting content of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

### trailingContentColor

Cmn

```
fun trailingContentColor(enabled: Boolean, selected: Boolean, dragged: Boolean): Color
```

Returns the color of the trailing content of the list item based on the current state.

| Parameters |
|---|---|
| `enabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is enabled. |
| `selected: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is selected. |
| `dragged: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | whether the list item is dragged. |

## Public properties

### containerColor

Cmn

```
val containerColor: Color
```

the container color of the list item.

### contentColor

Cmn

```
val contentColor: Color
```

the content color of the list item.

### disabledContainerColor

Cmn

```
val disabledContainerColor: Color
```

the container color of the list item when disabled.

### disabledContentColor

Cmn

```
val disabledContentColor: Color
```

the content color of the list item when disabled.

### disabledHeadlineColor

Cmn

```
val disabledHeadlineColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to disabledContentColor, use this instead:
>
> ```kotlin
> disabledContentColor
> ```

### disabledLeadingContentColor

Cmn

```
val disabledLeadingContentColor: Color
```

the color of the leading content of the list item when disabled.

### disabledLeadingIconColor

Cmn

```
val disabledLeadingIconColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to disabledLeadingContentColor, use this instead:
>
> ```kotlin
> disabledLeadingContentColor
> ```

### disabledOverlineContentColor

Cmn

```
val disabledOverlineContentColor: Color
```

the color of the overline content of the list item when disabled.

### disabledSupportingContentColor

Cmn

```
val disabledSupportingContentColor: Color
```

the color of the supporting content of the list item when disabled.

### disabledTrailingContentColor

Cmn

```
val disabledTrailingContentColor: Color
```

the color of the trailing content of the list item when disabled.

### disabledTrailingIconColor

Cmn

```
val disabledTrailingIconColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to disabledTrailingContentColor, use this instead:
>
> ```kotlin
> disabledTrailingContentColor
> ```

### draggedContainerColor

Cmn

```
val draggedContainerColor: Color
```

the container color of the list item when dragged.

### draggedContentColor

Cmn

```
val draggedContentColor: Color
```

the content color of the list item when dragged.

### draggedLeadingContentColor

Cmn

```
val draggedLeadingContentColor: Color
```

the color of the leading content of the list item when dragged.

### draggedOverlineContentColor

Cmn

```
val draggedOverlineContentColor: Color
```

the color of the overline content of the list item when dragged.

### draggedSupportingContentColor

Cmn

```
val draggedSupportingContentColor: Color
```

the color of the supporting content of the list item when dragged.

### draggedTrailingContentColor

Cmn

```
val draggedTrailingContentColor: Color
```

the color of the trailing content of the list item when dragged.

### headlineColor

Cmn

```
val headlineColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to contentColor, use this instead:
>
> ```kotlin
> contentColor
> ```

### leadingContentColor

Cmn

```
val leadingContentColor: Color
```

the color of the leading content of the list item.

### leadingIconColor

Cmn

```
val leadingIconColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to leadingContentColor, use this instead:
>
> ```kotlin
> leadingContentColor
> ```

### overlineColor

Cmn

```
val overlineColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to overlineContentColor, use this instead:
>
> ```kotlin
> overlineContentColor
> ```

### overlineContentColor

Cmn

```
val overlineContentColor: Color
```

the color of the overline content of the list item.

### selectedContainerColor

Cmn

```
val selectedContainerColor: Color
```

the container color of the list item when selected.

### selectedContentColor

Cmn

```
val selectedContentColor: Color
```

the content color of the list item when selected.

### selectedLeadingContentColor

Cmn

```
val selectedLeadingContentColor: Color
```

the color of the leading content of the list item when selected.

### selectedOverlineContentColor

Cmn

```
val selectedOverlineContentColor: Color
```

the color of the overline content of the list item when selected.

### selectedSupportingContentColor

Cmn

```
val selectedSupportingContentColor: Color
```

the color of the supporting content of the list item when selected.

### selectedTrailingContentColor

Cmn

```
val selectedTrailingContentColor: Color
```

the color of the trailing content of the list item when selected.

### supportingContentColor

Cmn

```
val supportingContentColor: Color
```

the color of the supporting content of the list item.

### supportingTextColor

Cmn

```
val supportingTextColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to supportingContentColor, use this instead:
>
> ```kotlin
> supportingContentColor
> ```

### trailingContentColor

Cmn

```
val trailingContentColor: Color
```

the color of the trailing content of the list item.

### trailingIconColor

Cmn

```
val trailingIconColor: Color
```

> [!CAUTION]
> **This property is deprecated.**   
> Renamed to trailingContentColor, use this instead:
>
> ```kotlin
> trailingContentColor
> ```