<div class='type'>Composable Function</div>


<a id='references'></a>



<h2 id="lookaheadscope-content">LookaheadScope</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
@Composable
fun LookaheadScope(content: @Composable @UiComposable LookaheadScope.() -> Unit)
```


`LookaheadScope` creates a scope in which all layouts will first determine their destination
layout through a lookahead pass, followed by an _approach_ pass to run the measurement and
placement approach defined in `approachLayout` or `ApproachLayoutModifierNode`, in order to
gradually reach the destination.

Note: `LookaheadScope` does not introduce a new `Layout` to the `content` passed in. All the
`Layout`s in the `content` will have the same parent as they would without `LookaheadScope`.

#### Parameters

| | |
| --- | --- |
| content | The child composable to be laid out. |