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
override fun toString(): String
Members
Companion
public companion object
Properties
Auto
public inline val Auto: FlexAlignSelf
Inherits the alignment from the container's FlexBoxConfigScope.alignItems. This is the default value.
Start
public inline val Start: FlexAlignSelf
The item is aligned toward the cross-start edge of its line.
End
public inline val End: FlexAlignSelf
The item is aligned toward the cross-end edge of its line.
Center
public inline val Center: FlexAlignSelf
The item is centered along the cross axis within its line.
Stretch
public inline val Stretch: FlexAlignSelf
The item is stretched to fill the cross axis size of its line.
Baseline
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.