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

FlexAlignSelf

Defines the cross-axis alignment for a single flex item, overriding the container's FlexAlignItems.

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

Defines the cross-axis alignment for a single flex item, overriding the container's FlexAlignItems.

This controls how an individual item is positioned perpendicular to the main axis within its respective line.

Functions

toString

Source set: Common
override fun toString(): String

Members

Companion

Source set: Common
public companion object

Properties

Auto

Source set: Common
public inline val Auto: FlexAlignSelf

Inherits the alignment from the container's FlexBoxConfigScope.alignItems. This is the default value.

Start

Source set: Common
public inline val Start: FlexAlignSelf

The item is aligned toward the cross-start edge of its line.

End

Source set: Common
public inline val End: FlexAlignSelf

The item is aligned toward the cross-end edge of its line.

Center

Source set: Common
public inline val Center: FlexAlignSelf

The item is centered along the cross axis within its line.

Stretch

Source set: Common
public inline val Stretch: FlexAlignSelf

The item is stretched to fill the cross axis size of its line.

Baseline

Source set: Common
public inline val Baseline: FlexAlignSelf

The item is aligned such that its baseline matches the baseline of other baseline-aligned items in the line. Items without a baseline fall back to Start alignment.