# placement

Common/All

## Functions summary

|---|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier` | `@https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/ExperimentalFoundationStyleApi https://developer.android.com/reference/kotlin/androidx/compose/ui/Modifier.https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/placement.modifier#(androidx.compose.ui.Modifier).placement(kotlin.Function1)(block: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/PlacementModifierScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` Declares a callback, `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, that allows controlling size and placement.The incoming measurement `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints` may override values provided by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, forcing the content to be either smaller or larger. | Cmn |

## Functions

### Modifier.placement

Cmn Artifact: [androidx.compose.foundation:foundation](https://developer.android.com/jetpack/androidx/releases/compose-foundation) [View Source](https://cs.android.com/search?q=file:androidx/compose/foundation/style/Placement.kt+function:placement) Added in [1.13.0-rc01](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.13.0-rc01)

```
@ExperimentalFoundationStyleApi
fun Modifier.placement(block: PlacementModifierScope.() -> Unit): Modifier
```

Declares a callback, `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, that allows controlling size and placement.The incoming measurement `https://developer.android.com/reference/kotlin/androidx/compose/ui/unit/Constraints` may override values provided by `https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/package-summary#(androidx.compose.ui.Modifier).placement(kotlin.Function1)`, forcing the content to be either smaller or larger.

| Parameters |
|---|---|
| `block: https://developer.android.com/reference/kotlin/androidx/compose/foundation/style/PlacementModifierScope.() -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | called during layout to determine the size of blocks. This l |