GridPlacement class abstract
Describes where a grid item should be placed within a grid. It can place an item by naming a grid area, or by describing start/end lines for the item's row and column tracks. Use this to control the item's location and span inside its grid.
Maps to the CSS grid-area, grid-row, and grid-column properties.
Read more: MDN Grid Placement
Constructors
- GridPlacement({LinePlacement? rowStart, LinePlacement? rowEnd, LinePlacement? columnStart, LinePlacement? columnEnd})
-
Creates a placement by specifying start/end lines for rows and
columns using LinePlacement values.
constfactory
- GridPlacement.area(String name)
-
Creates a placement that targets a named grid area.
constfactory
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
- auto → const GridPlacement
- A placement that leaves the item's position to automatic placement (equivalent to using the browser's automatic grid placement).