AlignContent

Aligns flex lines when there is extra space on the cross axis. Only has effect when FlexWrap is not FlexWrap.NoWrap and there are multiple lines. Mirrors CSS align-content.

Entries

Link copied to clipboard

Lines are packed toward the start of the cross axis. Mirrors CSS align-content: flex-start.

Link copied to clipboard

Lines are packed toward the end of the cross axis. Mirrors CSS align-content: flex-end.

Link copied to clipboard

Lines are centered on the cross axis. Mirrors CSS align-content: center.

Link copied to clipboard

Lines are evenly distributed; first line at the start, last at the end. Mirrors CSS align-content: space-between.

Link copied to clipboard

Lines are evenly distributed with half-size spaces at each end. Mirrors CSS align-content: space-around.

Link copied to clipboard

Lines are evenly distributed with equal space between and around each line. Mirrors CSS align-content: space-evenly.

Link copied to clipboard

Lines are stretched to fill the remaining cross-axis space. Mirrors CSS align-content: stretch.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.