Interface

SpatialBoxScope

Scope for the children of SpatialBox.

Source set: Android
public interface SpatialBoxScope

Scope for the children of SpatialBox.

Functions

align

Source set: Android
public fun SubspaceModifier.align(alignment: SpatialAlignment): SubspaceModifier

Positions the content element at a specific SpatialAlignment within the SpatialBox. This alignment overrides the default alignment of the SpatialBox.

Parameters

alignment The desired alignment for the content.

Return

The modified SubspaceModifier.

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: