text property
The text to paint in the form of a tree of InlineSpans.
In order to get the plain text representation, use plainText.
Implementation
InlineSpan? get text => _textPainter.text;
Implementation
set text(InlineSpan? value) {
if (_textPainter.text == value) {
return;
}
_cachedLineBreakCount = null;
_textPainter.text = value;
_cachedAttributedValue = null;
_cachedCombinedSemanticsInfos = null;
markNeedsLayout();
markNeedsSemanticsUpdate();
}