# ListItemShapes

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

  ```
  class ListItemShapes
  ```

*** ** * ** ***

Represents the shapes of a list item in different states.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#ListItemShapes(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 )` | Cmn |

| ### Public functions |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#copy(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? )` Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes`, 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/ListItemShapes#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/ListItemShapes#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#draggedShape()` the shape of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#focusedShape()` the shape of the list item when focused. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#hoveredShape()` the shape of the list item when hovered. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#pressedShape()` the shape of the list item when pressed. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#selectedShape()` the shape of the list item when selected. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Shape` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes#shape()` the default shape of the list item. | Cmn |

## Public constructors

### ListItemShapes

Cmn

```
ListItemShapes(
    shape: Shape,
    selectedShape: Shape,
    pressedShape: Shape,
    focusedShape: Shape,
    hoveredShape: Shape,
    draggedShape: Shape
)
```

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

## Public functions

### copy

Cmn

```
fun copy(
    shape: Shape? = this.shape,
    selectedShape: Shape? = this.selectedShape,
    pressedShape: Shape? = this.pressedShape,
    focusedShape: Shape? = this.focusedShape,
    hoveredShape: Shape? = this.hoveredShape,
    draggedShape: Shape? = this.draggedShape
): ListItemShapes
```

Returns a copy of this `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemShapes`, optionally overriding some of the values.

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### draggedShape

Cmn

```
val draggedShape: Shape
```

the shape of the list item when dragged.

### focusedShape

Cmn

```
val focusedShape: Shape
```

the shape of the list item when focused.

### hoveredShape

Cmn

```
val hoveredShape: Shape
```

the shape of the list item when hovered.

### pressedShape

Cmn

```
val pressedShape: Shape
```

the shape of the list item when pressed.

### selectedShape

Cmn

```
val selectedShape: Shape
```

the shape of the list item when selected.

### shape

Cmn

```
val shape: Shape
```

the default shape of the list item.