GridFit enum

Determines the constraints available to the grid layout algorithm.

Inheritance

Constructors

GridFit()
const

Values

expand → const GridFit

The constraints passed to the grid from its parent are tightened to the biggest size allowed. For example, if the grid has loose constraints with a width in the range 10 to 100 and a height in the range 0 to 600, then the children will be instructed to fill the entire 100×600 size.

If the constraints passed to the grid are unbounded on a dimension, the children will be allowed to maximize their sizes on that axis (column taking preference).

loose → const GridFit

The constraints passed to the grid from its parent are loosened. For example, if the grid has constraints that force it to 350x600, then this would allow the children of the grid to collectively have a width between zero and 350 and a height from zero to 600.

passthrough → const GridFit

The constraints passed to the grid from its parent are interpreted as-is.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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

Constants

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