Defines the default cross-axis alignment for items within a FlexBox. Can be overridden per-item using FlexAlignSelf.

Summary

Public companion properties

FlexAlignItems

Items are aligned based on their first baseline.

Cmn
FlexAlignItems

Items are centered along the cross axis.

Cmn
FlexAlignItems

Items are aligned to the end of the cross axis.

Cmn
FlexAlignItems

Items are aligned to the start of the cross axis.

Cmn
FlexAlignItems

Items are stretched to fill the line's cross axis size.

Cmn

Public functions

open String
Cmn

Public companion properties

Baseline

val BaselineFlexAlignItems

Items are aligned based on their first baseline. Items without a baseline fall back to Start alignment.

Center

val CenterFlexAlignItems

Items are centered along the cross axis.

End

val EndFlexAlignItems

Items are aligned to the end of the cross axis.

Start

val StartFlexAlignItems

Items are aligned to the start of the cross axis.

Stretch

val StretchFlexAlignItems

Items are stretched to fill the line's cross axis size. If the item has a fixed cross-axis size, stretch has no effect.

Public functions

toString

open fun toString(): String