WrapFit enum
Constructors
- WrapFit()
-
const
Values
- min → const WrapFit
-
Will keep each widget's original width. This is the default.
- 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.
Properties
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