GridAreas class

Represents the grid areas defined in a grid layout.

Each string in lines represents a row in the grid, with area names separated by spaces. Use . to represent empty cells.

Example:

GridAreas([
  'header header header',
  'sidebar content content',
  'footer footer footer',
])/// ```

This defines a grid with three rows and three columns, where:
- The first row has a single area named 'header' spanning all three columns.
- The second row has two areas: 'sidebar' in the first column and 'content' spanning the second and third columns.
- The third row has a single area named 'footer' spanning all three columns.

Read more: [MDN Grid Areas](https://developer.mozilla.org/en-US/docs/Glossary/Grid_Areas)

Constructors

GridAreas(List<String> lines)
const

Properties

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

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