Overflow

Controls how content that overflows the flex container is handled. Mirrors CSS overflow.

Entries

Link copied to clipboard

Content is not clipped and may overflow the container. Mirrors CSS overflow: visible.

Link copied to clipboard

Content is clipped to container bounds; no scrolling. Mirrors CSS overflow: hidden.

Link copied to clipboard

Content is clipped to container bounds without establishing a scroll container. Mirrors CSS overflow: clip.

Link copied to clipboard

Content is scrollable along the primary axis; clips on the cross axis. Mirrors CSS overflow: scroll.

Link copied to clipboard

Same as Scroll — scrollable when content overflows. Mirrors CSS overflow: auto.

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
fun valueOf(value: String): Overflow

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.