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}
-> NothingContent 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
- Likely named
positive number of columns
alignment
gap
- Optional
- Likely named
blank space between rows and columns. If omitted, the default value is used
body
- Likely a body argument
content to stack
Throws
if columns is non-positive