Composable Function

SpatialSpacer

A composable that represents an empty space layout.

SpatialSpacer

Source set: Android
@Composable
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.
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: