text property Null safety
The text to display.
Implementation
InlineSpan? get text => _textPainter.text;
Implementation
set text(InlineSpan? value) {
if (_textPainter.text == value) {
return;
}
_textPainter.text = value;
_cachedPlainText = null;
_cachedAttributedValue = null;
_cachedCombinedSemanticsInfos = null;
_extractPlaceholderSpans(value);
markNeedsTextLayout();
markNeedsSemanticsUpdate();
}