A Flutter package that provides a WYSIWYG editor backed by flutter_inappwebview and the Summernote library.
274
stars
331
forks
source link
Can this package be used with 2 or even more of its Widgets within a single Class ? #447
Open
royhanrahim opened 1 year ago
For example, like this :
`HtmlEditorController controllerFirst = HtmlEditorController(); HtmlEditorController controllerSecond = HtmlEditorController();
@override Widget build(BuildContext context) { return Column( children: [ HtmlEditor( controller: controllerFirst, //required htmlEditorOptions: HtmlEditorOptions( hint: "Your text here...", //initalText: "text content initial, if any", ),
otherOptions: OtherOptions( height: 400, ), ), HtmlEditor( controller: controllerSecond, //required htmlEditorOptions: HtmlEditorOptions( hint: "Your text here...", //initalText: "text content initial, if any", ),
otherOptions: OtherOptions( height: 400, ), ), ] ); }`