insertRow method

int? insertRow(
  1. int rowIndex
)

Implementation

int? insertRow(int rowIndex) {
  var row = buildPlutoRow(rowIndex);
  if (row != null) {
    stateManager?.insertRows(rowIndex, [row]);
  }
  return row != null ? rowIndex : null;
}