addRow method

HGridBuilder addRow(
  1. List<HVal?> cells
)

Add row with array of cells which correspond to column order. Return this.

Implementation

HGridBuilder addRow(List<HVal?> cells) {
  if (_cols.length != cells.length) {
    throw ArgumentError("Row cells size != cols size");
  }
  _rows.add(List<HVal?>.from(cells));
  return this;
}