Composable Function

Spacer

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

Spacer

Source set: Common
@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

Last updated: