CrossAxisWrapMode

Specifies how a Collection will wrap its contents across the cross axis. For example, in a horizontal list, the cross axis is vertical, meaning this enum controls how the Collection will determine its height.

Entries

Link copied to clipboard

No wrapping specified. The size should be specified on the Collection's style parameter.

Link copied to clipboard

The cross axis dimension will match the first child in the Collection

Link copied to clipboard

The cross axis dimension will match the largest item in the Collection. Measuring all the children comes with a high performance cost, especially for infinite scrolls. This should only be used if absolutely necessary.

Properties

Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard

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.