GridTemplate class

The grid-template CSS property defines grid columns, grid rows, and grid areas.

  • A grid column is a vertical track in a CSS grid layout, and is the space between two vertical grid lines.
  • A grid row is a horizontal track in a CSS grid layout, that is the space between two horizontal grid lines.
  • A grid area is one or more grid cells that make up a rectangular area on the grid.

Read more: MDN CSS Grid Layout

Constructors

GridTemplate({GridTracks? columns, GridTracks? rows, GridAreas? areas})
const

Properties

areas GridAreas?
final
columns GridTracks?
final
hashCode int
The hash code for this object.
no setterinherited
rows GridTracks?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
styles Map<String, 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