Column
fun UiScope.Column(modifier: Modifier = Modifier.Empty, key: ElementKey<*>? = null, spacing: Int = 0, verticalArrangement: Arrangement = Arrangement.Start, horizontalAlignment: HorizontalAlignment = HorizontalAlignment.Start, content: ColumnScope.() -> Unit)(source)
Emits one column container with the descriptions produced by its callback.
The callback scope is confined to the constructing thread and is closed immediately after the callback returns.
Parameters
modifier
ordered active behavior applied to the column itself, including sizing, padding, paint, semantics, focus, and input behavior.
key
optional stable identity among direct siblings.
spacing
non-negative fixed spacing between direct children.
verticalArrangement
main-axis child arrangement.
horizontalAlignment
default cross-axis child alignment.
content
callback that emits zero or more direct children.
Throws
when the enclosing scope has escaped its callback or constructing thread.
when spacing is negative.