Interface

RemoteRowScope

Receiver scope used by RemoteRow for its content.

Source set: JvmAndAndroid
public sealed interface 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 proportional width to allocate to this element

Return

a RemoteModifier that allocates width proportional to weight

alignByBaseline

Source set: JvmAndAndroid
public fun RemoteModifier.alignByBaseline(): RemoteModifier

Aligns this layout with sibling layouts in a RemoteRow by their shared first baseline.

Return

a RemoteModifier that aligns the layout by its first baseline

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: