appendText method

void appendText(
  1. String text, {
  2. int? color,
  3. bool bold = false,
  4. bool italic = false,
  5. bool underline = false,
  6. String? faceName,
  7. bool scrollToBottom = true,
})

Append a text with different colors to this RichEdit.

Implementation

void appendText(String text,
    {int? color,
    bool bold = false,
    bool italic = false,
    bool underline = false,
    String? faceName,
    bool scrollToBottom = true}) {
  _onlyTextFormatted = false;
  _appendTextImpl(text,
      color: color,
      bold: bold,
      italic: italic,
      underline: underline,
      faceName: faceName,
      scrollToBottom: scrollToBottom);
}