# ValueElement

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/platform/InspectableValue.kt+class:androidx.compose.ui.platform.ValueElement) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Common/AllAndroid/JVM
- Cmn

  ```
  data class ValueElement
  ```

*** ** * ** ***

A `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement` describes an element of a compose value instance. The `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement#name()` typically refers to a (possibly private) property name with its corresponding `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement#value()`.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement#ValueElement(kotlin.String,kotlin.Any)(name: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html, value: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?)` | Cmn |

| ### Public properties |
|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement#name()` | Cmn |
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?` | `https://developer.android.com/reference/kotlin/androidx/compose/ui/platform/ValueElement#value()` | Cmn |

## Public constructors

### ValueElement

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
ValueElement(name: String, value: Any?)
```

## Public properties

### name

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val name: String
```

### value

Cmn Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0)

```
val value: Any?
```