AlignItems

Aligns flex items along the cross axis. Mirrors CSS align-items.

Entries

Link copied to clipboard

Items are aligned to the start of the cross axis. Mirrors CSS align-items: flex-start.

Link copied to clipboard

Items are aligned to the end of the cross axis. Mirrors CSS align-items: flex-end.

Link copied to clipboard

Items are centered on the cross axis. Mirrors CSS align-items: center.

Link copied to clipboard

Items are aligned to their text baseline. Mirrors CSS align-items: baseline.

Link copied to clipboard

Items are stretched to fill the cross axis of their line. Mirrors CSS align-items: 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.