OnVideoInsertCallback typedef

OnVideoInsertCallback = Future<void> Function(String video, QuillController controller)

A callback will called when inserting a video in the editor it have the logic that will insert the video block using the controller

Implementation

typedef OnVideoInsertCallback = Future<void> Function(
  String video,
  QuillController controller,
);