FlexWrap enum

The flex-wrap CSS property sets whether flex items are forced onto one line or can wrap onto multiple lines. If wrapping is allowed, it sets the direction that lines are stacked.

Read more: MDN flex-wrap

Inheritance
Available extensions

Values

nowrap → const FlexWrap

The flex items are laid out in a single line which may cause the flex container to overflow. The cross-start is the equivalent of inline-start or block-start, depending on the flex-direction value. This is the default value.

const FlexWrap('nowrap')
wrap → const FlexWrap

The flex items break into multiple lines. The cross-start is the equivalent of inline-start or block-start, depending on the current writing mode, and the flex-direction value.

const FlexWrap('wrap')
wrapReverse → const FlexWrap

Behaves the same as wrap, but cross-start and cross-end are inverted.

const FlexWrap('wrap-reverse')
inherit → const FlexWrap
const FlexWrap('inherit')
initial → const FlexWrap
const FlexWrap('initial')
revert → const FlexWrap
const FlexWrap('revert')
revertLayer → const FlexWrap
const FlexWrap('revert-layer')
unset → const FlexWrap
const FlexWrap('unset')

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
The css value
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<FlexWrap>
A constant List of the values in this enum, in order of their declaration.