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

FlexWrap

Defines whether flex items are forced onto a single line or can wrap onto multiple lines.

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

Defines whether flex items are forced onto a single line or can wrap onto multiple lines.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

NoWrap

Source set: Common
public inline val NoWrap: FlexWrap

Items are laid out in a single line. Items will shrink to fit the container if their FlexConfigScope.shrink factor allows it. If they cannot shrink enough to fit the main axis (for example, due to their minimum intrinsic sizes), they will visually overflow on main axis of the container.

Wrap

Source set: Common
public inline val Wrap: FlexWrap

Items wrap onto multiple lines if they exceed the main axis size. New lines are added along the cross axis, starting from the cross-start edge and flowing toward the cross-end edge. (For example, top-to-bottom in a FlexDirection.Row).

WrapReverse

Source set: Common
public inline val WrapReverse: FlexWrap

Items wrap onto multiple lines if they exceed the main axis size. New lines are added in the reverse direction along the cross axis, starting from the cross-end edge and flowing toward the cross-start edge. (For example, bottom-to-top in a FlexDirection.Row).