removeVideo method

void removeVideo(
  1. int blockIndex
)

Removes a video block at blockIndex.

Implementation

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