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