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 lineName to also include a named line.
const
factory
LinePlacement.named(String name)
Creates a placement that targets a named grid line.
const
factory
LinePlacement.span(int span, {String? lineName})
Creates a placement using a span expression to span multiple tracks. An optional lineName may be provided.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value String
final

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.