QuillControllerExt extension

Extension functions on QuillController that make it easier to insert the embed blocks

and provide some other extra utilities

on
  • QuillController

Properties

index int
no setter
length int
no setter

Methods

insertImageBlock({required String imageSource}) → void
Insert image embed block, it requires the imageSource
insertVideoBlock({required String videoUrl}) → void
Insert video embed block, it requires the videoUrl