Grid<T>.fromCells constructor
Creates a new grid from the given cells
and width
.
The cells
must have a length that is a multiple of the width
.
Implementation
factory Grid.fromCells(
Iterable<T> cells, {
required int width,
}) = ListGrid<T>.fromCells;