WrapFit enum
Values
- min → const WrapFit
-
Will keep each widget's original width.
- divided → const WrapFit
-
After the calculation, will make widgets fit all the available space. All widgets in a line will have the same width, even if it makes them smaller that their original width.
- proportional → const WrapFit
-
After the calculation, will make widgets larger, so that they fit all the available space. Widgets width will be proportional to their original width.
- larger → const WrapFit
-
After the calculation, will make widgets larger, so that they fit all the available space. Will try to make all widgets the same width, but won't make any widgets smaller than their original width.
The procedure is this:
- First, divide the available line width by the number of widgets in the line. That is the preferred width.
- Keep the width of all widgets larger than that preferred width.
- Calculate the remaining width and divide it equally by the remaining widgets.
This is the default.
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
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