onInsertText method

bool onInsertText(
  1. String text,
  2. FluentDocument document
)

Intercepts inserting text (single character or multi-character string from IME/paste). Return true if handled.

Implementation

bool onInsertText(String text, FluentDocument document) => false;