SpannableGridSize enum
How the SpannableGrid fits its parent.
Constructors
- SpannableGridSize()
-
const
Values
- parent → const SpannableGridSize
-
The grid is sized to fit both parent's width and height.
In this case the cell size will has the same aspect ratio as the grid's parent.
- parentWidth → const SpannableGridSize
-
The grid is sized to fit its parent's width.
Cells are square in this case, and the grid's height is calculated to place all the rows. Consider to wrap the SpannableGrid in to some scrollable widget to avoid overflow errors.
This sizing option is used by default.
- parentHeight → const SpannableGridSize
-
The grid is sized to fit its parent's height.
Cells are square in this case, and the grid's width is calculated to place all the columns. Consider to wrap the SpannableGrid in to some scrollable widget to avoid overflow errors.
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
Constants
-
values
→ const List<
SpannableGridSize> - A constant List of the values in this enum, in order of their declaration.