FlowColumn

fun FlowColumn(modifier: Modifier = Modifier, mainAxisSize: SizeMode = SizeMode.Wrap, mainAxisAlignment: FlowMainAxisAlignment = FlowMainAxisAlignment.Start, mainAxisSpacing: Dp = 0.dp, crossAxisAlignment: FlowCrossAxisAlignment = FlowCrossAxisAlignment.Start, crossAxisSpacing: Dp = 0.dp, lastLineMainAxisAlignment: FlowMainAxisAlignment = mainAxisAlignment, content: @Composable () -> Unit)(source)

A composable that places its children in a vertical flow. Unlike Column, if the vertical space is too small to put all the children in one column, multiple columns may be used.

Note that just like Column, flex values cannot be used with FlowColumn.

Parameters

modifier

The modifier to be applied to the FlowColumn.

mainAxisSize

The size of the layout in the main axis direction.

mainAxisAlignment

The alignment of each column's children in the main axis direction.

mainAxisSpacing

The main axis spacing between the children of each column.

crossAxisAlignment

The alignment of each column's children in the cross axis direction.

crossAxisSpacing

The cross axis spacing between the columns of the layout.

lastLineMainAxisAlignment

Overrides the main axis alignment of the last column.