Interface

SpatialBoxScope

Scope for the children of SpatialBox.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
Android
@LayoutScopeMarker
public interface SpatialBoxScope

Scope for the children of SpatialBox.

Functions

align

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.

Returns

The modified SubspaceModifier.