removeDocument method

void removeDocument(
  1. int blockIndex
)

Removes a document block at blockIndex.

Implementation

void removeDocument(int blockIndex) {
  _documentController.removeDocument(blockIndex);
  _editorWidgetState?.rebuild();
}