Package com.google.accompanist.flowlayout

Types

FlowCrossAxisAlignment
Link copied to clipboard
enum FlowCrossAxisAlignment : Enum<FlowCrossAxisAlignment>
Used to specify the alignment of a layout's children, in cross axis direction.
FlowMainAxisAlignment
Link copied to clipboard
typealias FlowMainAxisAlignment = MainAxisAlignment
MainAxisAlignment
Link copied to clipboard
enum MainAxisAlignment : Enum<MainAxisAlignment>
Used to specify the alignment of a layout's children, in main axis direction.
SizeMode
Link copied to clipboard
enum SizeMode : Enum<SizeMode>
Used to specify how a layout chooses its own size when multiple behaviors are possible.

Functions

FlowColumn
Link copied to clipboard
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)
A composable that places its children in a vertical flow.
FlowRow
Link copied to clipboard
fun FlowRow(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)
A composable that places its children in a horizontal flow.