@ -2,9 +2,9 @@ library quill_html_converter;
import ' package:dart_quill_delta/dart_quill_delta.dart ' ;
import ' package:dart_quill_delta/dart_quill_delta.dart ' ;
import ' package:vsc_quill_delta_to_html/vsc_quill_delta_to_html.dart '
import ' package:vsc_quill_delta_to_html/vsc_quill_delta_to_html.dart '
as conven ter show ConverterOptions , QuillDeltaToHtmlConverter ;
as conver ter show ConverterOptions , QuillDeltaToHtmlConverter ;
typedef ConverterOptions = conven ter . ConverterOptions ;
typedef ConverterOptions = conver ter . ConverterOptions ;
/ / / A extension for [ Delta ] which comes from ` flutter_quill ` to extends
/ / / A extension for [ Delta ] which comes from ` flutter_quill ` to extends
/ / / the functionality of it to support converting the [ Delta ] to / from HTML
/ / / the functionality of it to support converting the [ Delta ] to / from HTML
@ -19,7 +19,7 @@ extension DeltaHtmlExt on Delta {
/ / / that designed specifically for converting the quill delta to html
/ / / that designed specifically for converting the quill delta to html
String toHtml ( { ConverterOptions ? options } ) {
String toHtml ( { ConverterOptions ? options } ) {
final json = toJson ( ) ;
final json = toJson ( ) ;
final html = conven ter . QuillDeltaToHtmlConverter (
final html = conver ter . QuillDeltaToHtmlConverter (
List . castFrom ( json ) ,
List . castFrom ( json ) ,
options ,
options ,
) . convert ( ) ;
) . convert ( ) ;