duplicateRowAt method

void duplicateRowAt(
  1. int index
)

Implementation

void duplicateRowAt(int index) {
  if (index < 0 || index >= _rows.length) return;
  _apply(List<T>.from(_rows)..insert(index + 1, _rows[index]));
  _sel = CellRef(index + 1, _sel.col);
  notifyListeners();
}