Spacer

fun UiScope.Spacer(modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null)(source)

Emits one empty spacer component.

Parameters

modifier

active behavior applied to the spacer.

key

optional stable identity among direct siblings.

Throws

when the enclosing scope has escaped its callback or constructing thread.