didUpdateWidget method
- covariant HtmlEditor oldWidget
Implementation
@override
void didUpdateWidget(covariant HtmlEditor oldWidget) {
super.didUpdateWidget(oldWidget);
if (oldWidget.editorState != widget.editorState) {
updateEditorState(widget.editorState ?? EditorState.blank());
}
}