# ListItemDefaults

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.ListItemDefaults) Common/AllAndroid/JVM
- Cmn

  ```
  object ListItemDefaults
  ```

*** ** * ** ***

Contains the default values used by list items.

## Summary

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#colors()()` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#colors(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, supportingColor: 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 )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default container and content colors used in a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#colors(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 )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#elevation(androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)(elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp, draggedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp)` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation` that represents the elevation for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedColors()()` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedColors(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 )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedShapes(kotlin.Int,kotlin.Int,androidx.compose.material3.ListItemShapes)(index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, count: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html, defaultShapes: https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes)` Constructor for `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` to be used by a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` which has an `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedShapes(kotlin.Int,kotlin.Int,androidx.compose.material3.ListItemShapes)` in a list that has a total of `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedShapes(kotlin.Int,kotlin.Int,androidx.compose.material3.ListItemShapes)` items. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#shapes()()` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` that represents the default shapes for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#shapes(androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape,androidx.compose.ui.graphics.Shape)( shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, selectedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, focusedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, hoveredShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape?, draggedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? )` Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` that represents the default shapes for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment.Vertical` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#verticalAlignment()()` Returns the default vertical alignment of children content within a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`. | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/foundation/layout/PaddingValues` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#ContentPadding()` The default padding applied to all content within a list item. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#Elevation()` **This property is deprecated.** Use \`ListItemDefaults.elevation\` instead | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#SegmentedGap()` The vertical space between different `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)`s. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#containerColor()` The container color of a list item | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#contentColor()` The content color of a list item | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#shape()` **This property is deprecated.** Use \`ListItemDefaults.shapes\` instead | Cmn |

## Public functions

### colors

Cmn

```
@Composable
fun colors(): ListItemColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states.

### colors

Cmn

```
@Composable
fun colors(
    containerColor: Color = Color.Unspecified,
    headlineColor: Color = Color.Unspecified,
    leadingIconColor: Color = Color.Unspecified,
    overlineColor: Color = Color.Unspecified,
    supportingColor: Color = Color.Unspecified,
    trailingIconColor: Color = Color.Unspecified,
    disabledHeadlineColor: Color = Color.Unspecified,
    disabledLeadingIconColor: Color = Color.Unspecified,
    disabledTrailingIconColor: Color = Color.Unspecified
): ListItemColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default container and content colors used in a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`.

| Parameters |
|---|---|
| `containerColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the container color of this list item when enabled. |
| `headlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the headline text content color of this list item when enabled. |
| `leadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of this list item's leading content when enabled. |
| `overlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the overline text color of this list item |
| `supportingColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the supporting text color of this list item |
| `trailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of this list item's trailing content when enabled. |
| `disabledHeadlineColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the content color of this list item when not enabled. |
| `disabledLeadingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of this list item's leading content when not enabled. |
| `disabledTrailingIconColor: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Color = Color.Unspecified` | the color of this list item's trailing content when not enabled. |

### colors

Cmn

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

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states.

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

### elevation

Cmn

```
fun elevation(
    elevation: Dp = ListTokens.ItemContainerElevation,
    draggedElevation: Dp = ListTokens.ItemDraggedContainerElevation
): ListItemElevation
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation` that represents the elevation for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states.

| Parameters |
|---|---|
| `elevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = ListTokens.ItemContainerElevation` | the default elevation of the list item. |
| `draggedElevation: https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp = ListTokens.ItemDraggedContainerElevation` | the elevation of the list item when dragged. |

### segmentedColors

Cmn

```
@Composable
fun segmentedColors(): ListItemColors
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` in different states.

### segmentedColors

Cmn

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

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemColors` that represents the default colors for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` in different states.

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

### segmentedShapes

Cmn

```
@Composable
fun segmentedShapes(
    index: Int,
    count: Int,
    defaultShapes: ListItemShapes = shapes()
): ListItemShapes
```

Constructor for `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` to be used by a `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)` which has an `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedShapes(kotlin.Int,kotlin.Int,androidx.compose.material3.ListItemShapes)` in a list that has a total of `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemDefaults#segmentedShapes(kotlin.Int,kotlin.Int,androidx.compose.material3.ListItemShapes)` items.

| Parameters |
|---|---|
| `index: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the index for this list item in the overall list. |
| `count: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the total count of list items in the overall list. |
| `defaultShapes: https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes = shapes()` | the default `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` that should be used for items in the middle of the list. If using `https://developer.android.com/reference/kotlin/androidx/compose/foundation/shape/CornerBasedShape`s, this factory function modifies the corners of `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#shape()` for the first/last items of the list and single list items. |

### shapes

Cmn

```
@Composable
fun shapes(): ListItemShapes
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` that represents the default shapes for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states.

### shapes

Cmn

```
@Composable
fun shapes(
    shape: Shape? = null,
    selectedShape: Shape? = null,
    pressedShape: Shape? = null,
    focusedShape: Shape? = null,
    hoveredShape: Shape? = null,
    draggedShape: Shape? = null
): ListItemShapes
```

Creates a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` that represents the default shapes for a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)` in different states.

| Parameters |
|---|---|
| `shape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the default shape of the list item. |
| `selectedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the shape of the list item when selected. |
| `pressedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the shape of the list item when pressed. |
| `focusedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the shape of the list item when focused. |
| `hoveredShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the shape of the list item when hovered. |
| `draggedShape: https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape? = null` | the shape of the list item when dragged. |

### verticalAlignment

Cmn

```
@Composable
fun verticalAlignment(): Alignment.Vertical
```

Returns the default vertical alignment of children content within a `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItem.composable#ListItem(kotlin.Function0,androidx.compose.ui.Modifier,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.material3.ListItemColors,androidx.compose.ui.unit.Dp,androidx.compose.ui.unit.Dp)`. This is equivalent to `https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment#CenterVertically()` for shorter items and `https://developer.android.com/reference/kotlin/androidx/compose/ui/Alignment#Top()` for taller items.

## Public properties

### ContentPadding

Cmn

```
val ContentPadding: PaddingValues
```

The default padding applied to all content within a list item.

### Elevation

Cmn

```
val Elevation: Dp
```

> [!CAUTION]
> **This property is deprecated.**   
> Use \`ListItemDefaults.elevation\` instead, use this instead:
>
> ```kotlin
> ListItemDefaults.elevation()
> ```

The default elevation of a list item

### SegmentedGap

Cmn

```
val SegmentedGap: Dp
```

The vertical space between different `https://developer.android.com/reference/kotlin/androidx/compose/material3/SegmentedListItem.composable#SegmentedListItem(androidx.compose.material3.ListItemShapes,androidx.compose.ui.Modifier,kotlin.Boolean,kotlin.Function0,kotlin.Function0,kotlin.Function0,kotlin.Function0,androidx.compose.ui.Alignment.Vertical,androidx.compose.material3.ListItemColors,androidx.compose.material3.ListItemElevation,androidx.compose.foundation.layout.PaddingValues,kotlin.Function0)`s.

### containerColor

Cmn

```
val containerColor: Color
```

The container color of a list item

### contentColor

Cmn

```
val contentColor: Color
```

The content color of a list item

### shape

Cmn

```
val shape: Shape
```

> [!CAUTION]
> **This property is deprecated.**   
> Use \`ListItemDefaults.shapes\` instead, use this instead:
>
> ```kotlin
> ListItemDefaults.shapes()
> ```

The default shape of a list item