Class

RemoteColumnScope

Receiver scope used by RemoteColumn for its content.

Source set: JvmAndAndroid
public class RemoteColumnScope

Receiver scope used by RemoteColumn for its content.

Functions

weight

Source set: JvmAndAndroid
public fun RemoteModifier.weight(weight: RemoteFloat): RemoteModifier

Sets the vertical weight of this element relative to its siblings in the RemoteColumn.

Example of distributing height proportionally across children using weight:

Parameters

weight The proportional height to allocate to this element.

Return

a RemoteModifier that allocates height proportional to weight

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: