<div class='sourceset sourceset-android'>Android</div>

```kotlin
public class RemoteRowScope
```

Receiver scope used by [RemoteRow](/jetpack-compose/androidx.compose.remote/remote-creation-compose/composable-functions/RemoteRow) for its content.

## Functions

<h2 id="weight-weight">weight</h2>

```kotlin
public fun RemoteModifier.weight(weight: RemoteFloat): RemoteModifier
```

Sets the horizontal weight of this element relative to its siblings in the [RemoteRow](/jetpack-compose/androidx.compose.remote/remote-creation-compose/composable-functions/RemoteRow).

#### Parameters

| | |
| --- | --- |
| weight | The proportional width to allocate to this element. |

<hr class="docs-overload-divider">

<h2 id="weight-weight-2">weight</h2>

```kotlin
@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP)
    public fun RemoteModifier.weight(weight: Float): RemoteModifier
```