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.

Summary

Public companion properties

FlexAlignSelf

Inherits the alignment from the container's FlexBoxConfigScope.alignItems.

Cmn
FlexAlignSelf

The item is aligned such that its baseline matches the baseline of other baseline-aligned items in the line.

Cmn
FlexAlignSelf

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

Cmn
FlexAlignSelf

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

Cmn
FlexAlignSelf

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

Cmn
FlexAlignSelf

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

Cmn

Public functions

open String
Cmn

Public companion properties

Auto

val AutoFlexAlignSelf

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

Baseline

val BaselineFlexAlignSelf

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.

Center

val CenterFlexAlignSelf

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

End

val EndFlexAlignSelf

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

Start

val StartFlexAlignSelf

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

Stretch

val StretchFlexAlignSelf

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

Public functions

toString

open fun toString(): String