insertRow method

void insertRow()

Inserts a row below the currently focused cell.

Implementation

void insertRow() {
  final info = focusedTableInfo;
  if (info == null) return;
  _documentController.insertTableRow(info.blockIndex, info.row + 1);
  _editorWidgetState?.rebuild();
}