grid
.grid columns:{Int} \
alignment:{Stacked.MainAxisAlignment = Stacked.MainAxisAlignment.CENTER} \
cross:{Stacked.CrossAxisAlignment = Stacked.CrossAxisAlignment.CENTER} \
gap:{Size? = null} \
vgap:{Size? = gap} \
hgap:{Size? = gap} \
body:{MarkdownContent}
-> NodeContent copied to clipboard
Stacks content in a grid layout.
Each child is placed in a cell, and a row of cells ends when its cell count reaches columns.
Return
the new Stacked node
Parameters
columns
positive number of columns
gap
- Optional
- Likely named
blank space between rows and columns. If omitted, the default value is used
vgap
blank space between rows (overrides gap for rows). If omitted, the default value is used
hgap
blank space between columns (overrides gap for columns). If omitted, the default value is used
body
- Likely a body argument
content to stack
Throws
if columns is non-positive