Composable Function

Spacer

Component that represents an empty space layout, whose size can be defined using Modifier.width, Modifier.height and Modifier.size modifiers.

Source set: Common

Added in 1.11.0-rc01

@Composable
fun Spacer(modifier: Modifier)

Component that represents an empty space layout, whose size can be defined using Modifier.width, Modifier.height and Modifier.size modifiers.

Parameters

modifier modifiers to set to this spacer