addRow method

void addRow([
  1. T? row
])

Implementation

void addRow([T? row]) {
  final v = row ?? newRow?.call();
  if (v == null) return;
  _apply(List<T>.from(_rows)..add(v));
  _sel = CellRef(rowCount - 1, 0);
  notifyListeners();
}