insertAttributedTextAtCaret method
void
insertAttributedTextAtCaret({
- required AttributedText attributedText,
- TextRange? newComposingRegion,
override
Inserts the given attributedText at the current caret position.
The caret is moved to the end of the inserted text.
If the current selection is expanded, this method does nothing, because there is no conceptual caret with an expanded selection.
Implementation
@override
void insertAttributedTextAtCaret({required AttributedText attributedText, TextRange? newComposingRegion}) {
_realController.insertAttributedTextAtCaret(
attributedText: attributedText,
newComposingRegion: newComposingRegion,
);
}