html-editor-enhanced
html-editor-enhanced copied to clipboard
Can this package be used with 2 or even more of its Widgets within a single Class ?
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,
),
),
]
);
}`