# ListItemElevation

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

  ```
  class ListItemElevation
  ```

*** ** * ** ***

Represents the elevation of a list item in different states.

## Summary

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

| ### Public functions |
|---|---|---|
| `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation#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/ListItemElevation#hashCode()()` | Cmn |

| ### Public properties |
|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation#draggedElevation()` the elevation of the list item when dragged. | Cmn |
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Dp` | `https://developer.android.com/reference/kotlin/androidx/compose/material3/ListItemElevation#elevation()` the default elevation of the list item. | Cmn |

## Public constructors

### ListItemElevation

Cmn

```
ListItemElevation(elevation: Dp, draggedElevation: Dp)
```

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

## Public functions

### equals

Cmn

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

### hashCode

Cmn

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

## Public properties

### draggedElevation

Cmn

```
val draggedElevation: Dp
```

the elevation of the list item when dragged.

### elevation

Cmn

```
val elevation: Dp
```

the default elevation of the list item.