Composable Function

SpatialSpacer

A composable that represents an empty space layout.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

SpatialSpacer

Android
@Composable
@SubspaceComposable
public fun SpatialSpacer(modifier: SubspaceModifier = SubspaceModifier)

A composable that represents an empty space layout. Its size can be controlled using modifiers like SubspaceModifier.width, SubspaceModifier.height, etc.

Parameters

modifier Modifiers to apply to the spacer.