setInitialText method

void setInitialText(
  1. String text
)

Sets the initial text of the editor. This is useful when you want to initialize the editor with some text.

Implementation

void setInitialText(String text) {
  _buffer = text;
  editorOptions.initialText = text;
  //
}