Class

RemoteRowScope

Receiver scope used by RemoteRow for its content.

Source set: JvmAndAndroid
public class RemoteRowScope

Receiver scope used by RemoteRow for its content.

Functions

weight

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

Sets the horizontal weight of this element relative to its siblings in the RemoteRow.

Example of distributing width proportionally across children using weight:

Parameters

weight The proportional width to allocate to this element.

Return

a RemoteModifier that allocates width 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: