Package 

Class FlowKt

    • Method Summary

      Modifier and Type Method Description
      final static Unit FlowRow(Modifier modifier, SizeMode mainAxisSize, MainAxisAlignment mainAxisAlignment, Dp mainAxisSpacing, FlowCrossAxisAlignment crossAxisAlignment, Dp crossAxisSpacing, MainAxisAlignment lastLineMainAxisAlignment, Function0<Unit> content) A composable that places its children in a horizontal flow.
      final static Unit FlowColumn(Modifier modifier, SizeMode mainAxisSize, MainAxisAlignment mainAxisAlignment, Dp mainAxisSpacing, FlowCrossAxisAlignment crossAxisAlignment, Dp crossAxisSpacing, MainAxisAlignment lastLineMainAxisAlignment, Function0<Unit> content) A composable that places its children in a vertical flow.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • FlowRow

         final static Unit FlowRow(Modifier modifier, SizeMode mainAxisSize, MainAxisAlignment mainAxisAlignment, Dp mainAxisSpacing, FlowCrossAxisAlignment crossAxisAlignment, Dp crossAxisSpacing, MainAxisAlignment lastLineMainAxisAlignment, Function0<Unit> content)

        A composable that places its children in a horizontal flow. Unlike Row, if the horizontal space is too small to put all the children in one row, multiple rows may be used.

        Note that just like Row, flex values cannot be used with FlowRow.

        Parameters:
        modifier - The modifier to be applied to the FlowRow.
        mainAxisSize - The size of the layout in the main axis direction.
        mainAxisAlignment - The alignment of each row's children in the main axis direction.
        mainAxisSpacing - The main axis spacing between the children of each row.
        crossAxisAlignment - The alignment of each row's children in the cross axis direction.
        crossAxisSpacing - The cross axis spacing between the rows of the layout.
        lastLineMainAxisAlignment - Overrides the main axis alignment of the last row.
      • FlowColumn

         final static Unit FlowColumn(Modifier modifier, SizeMode mainAxisSize, MainAxisAlignment mainAxisAlignment, Dp mainAxisSpacing, FlowCrossAxisAlignment crossAxisAlignment, Dp crossAxisSpacing, MainAxisAlignment lastLineMainAxisAlignment, Function0<Unit> content)

        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.