Grid
Emits one fixed-column grid with the descriptions produced by its callback.
Children are assigned to cells in row-major order. Every column uses the greatest measured width in that column and every row uses the greatest measured height in that row. An incomplete final row is supported without creating placeholder children.
Parameters
positive number of columns.
ordered active behavior applied to the grid itself, including sizing, padding, paint, semantics, focus, and input behavior.
optional stable identity among direct siblings.
non-negative fixed spacing between adjacent columns.
non-negative fixed spacing between adjacent rows.
default placement of each child inside its measured cell.
callback that emits zero or more direct children.
Throws
when columns is not positive or either spacing value is negative.
when the enclosing scope has escaped its callback or constructing thread.