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
override fun toString(): String
Members
Companion
public companion object
Properties
NoWrap
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
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
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).