GridTrack class sealed
How a grid track is sized.
Rows accept fixed, fractional, and content-sized GridTrack.auto tracks. Columns accept only fixed and fractional tracks; content-sized columns are intentionally outside this API. Because one type covers both axes, "auto is rows-only" is enforced at runtime rather than by the type system.
- Implementers
- Annotations
Constructors
- GridTrack.auto()
-
A vertical track sized to the tallest child assigned to that row.
constfactory
- GridTrack.fixed(double size)
-
A track with a fixed
sizein logical pixels.constfactory - GridTrack.fr(double fraction)
-
A track with
fractionshares of the remaining free space.constfactory
Properties
- hashCode → int
-
The hash code for this object.
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