Composable Function

RemoteColumn

A layout composable that positions its children in a vertical sequence.

RemoteColumn

Source set: JvmAndAndroid
@Composable
public fun RemoteColumn(
    modifier: RemoteModifier = RemoteModifier,
    verticalArrangement: RemoteArrangement.Vertical = RemoteArrangement.Top,
    horizontalAlignment: RemoteAlignment.Horizontal = RemoteAlignment.Start,
    content: @RemoteComposable @Composable RemoteColumnScope.() -> Unit,
)

A layout composable that positions its children in a vertical sequence.

RemoteColumn allows you to arrange children vertically and control their verticalArrangement (spacing) and horizontalAlignment.

Example of arranging children vertically with spacing:

Example of distributing vertical space using RemoteColumnScope.weight:

Parameters

modifier The modifier to be applied to this column.
verticalArrangement The vertical arrangement of the children.
horizontalAlignment The horizontal alignment of the children.
content The content of the column, which has access to RemoteColumnScope.
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: