🌈 Create new beautiful Compose Gradients with our new wesite ->
Class

FlexAlignContent

Defines how multiple lines are distributed along the cross axis.

Source set: Common
public class FlexAlignContent @PublishedApi internal constructor(private val bits: Int)

Defines how multiple lines are distributed along the cross axis. This only applies when wrapping is enabled (FlexWrap.Wrap or FlexWrap.WrapReverse), the container has extra cross-axis space, and there is more than one line of items.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

Start

Source set: Common
public inline val Start: FlexAlignContent

Place lines such that they are as close as possible to the cross-start edge of the container.

End

Source set: Common
public inline val End: FlexAlignContent

Place lines such that they are as close as possible to the cross-end edge of the container.

Center

Source set: Common
public inline val Center: FlexAlignContent

Place lines such that they are as close as possible to the middle of the container's cross axis.

Stretch

Source set: Common
public inline val Stretch: FlexAlignContent

Distribute remaining free space evenly among all lines, increasing their cross-axis size to fill the available space.

SpaceBetween

Source set: Common
public inline val SpaceBetween: FlexAlignContent

Place lines such that they are spaced evenly across the cross axis, without free space before the first line or after the last line.

SpaceAround

Source set: Common
public inline val SpaceAround: FlexAlignContent

Place lines such that they are spaced evenly across the cross axis, including free space before the first line and after the last line, but half the amount of space existing otherwise between two consecutive lines.