setText method

Future setText(
  1. String text
)

setText method is used to set the html text to the editor it will override the existing text in the editor with the new one

Implementation

Future setText(String text) async {
  return await _editorKey?.currentState?._setHtmlTextToEditor(htmlText: text);
}