VerticalStack
Android
@Composable
public fun VerticalStack(
modifier: Modifier = Modifier,
state: StackState = rememberStackState(),
content: StackScope.() -> Unit,
)
Parameters
| modifier | the modifier to apply to this layout. |
| state | the state of the stack. |
| content | a block that describes the content. Inside this block you can use methods like StackScope.item to add a single item or StackScope.items to add a collection of items. |