SpatialRow

Functions summary

inline Unit
@Composable
@SubspaceComposable
SpatialRow(
    modifier: SubspaceModifier,
    verticalAlignment: SpatialAlignment.Vertical,
    depthAlignment: SpatialAlignment.Depth,
    horizontalArrangement: SpatialArrangement.Horizontal,
    crossinline content: @Composable @SubspaceComposable SpatialRowScope.() -> Unit
)

A layout composable that arranges its children in a horizontal sequence.

Functions

@Composable
@SubspaceComposable
inline fun SpatialRow(
    modifier: SubspaceModifier = SubspaceModifier,
    verticalAlignment: SpatialAlignment.Vertical = SpatialAlignment.CenterVertically,
    depthAlignment: SpatialAlignment.Depth = SpatialAlignment.CenterDepthwise,
    horizontalArrangement: SpatialArrangement.Horizontal = SpatialArrangement.Center,
    crossinline content: @Composable @SubspaceComposable SpatialRowScope.() -> Unit
): Unit

A layout composable that arranges its children in a horizontal sequence. For arranging children vertically, see SpatialColumn.

Parameters
modifier: SubspaceModifier = SubspaceModifier

Appearance modifiers to apply to this Composable.

verticalAlignment: SpatialAlignment.Vertical = SpatialAlignment.CenterVertically

The default vertical alignment for child elements within the row.

depthAlignment: SpatialAlignment.Depth = SpatialAlignment.CenterDepthwise

The default depth alignment for child elements within the row.

horizontalArrangement: SpatialArrangement.Horizontal = SpatialArrangement.Center

The horizontal arrangement of the children.

crossinline content: @Composable @SubspaceComposable SpatialRowScope.() -> Unit

The composable content to be laid out horizontally in the row.