LinePlacement class
Places an item by specifying grid lines or spans.
A line placement identifies a grid line by name or index, or describes a span across multiple tracks. It's used to indicate where a grid item should start or end on a row or column axis.
Constructors
- LinePlacement(int index, {String? lineName})
-
Creates a placement by numeric line index. Optionally provide
a
lineNameto also include a named line.constfactory - LinePlacement.named(String name)
-
Creates a placement that targets a named grid line.
constfactory
- LinePlacement.span(int span, {String? lineName})
-
Creates a placement using a
spanexpression to span multiple tracks. An optionallineNamemay be provided.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 LinePlacement
- The automatic placement value.