text property Null safety

InlineSpan? text

The text to display.

Implementation

InlineSpan? get text => _textPainter.text;
void text=(InlineSpan? value)

Implementation

set text(InlineSpan? value) {
  if (_textPainter.text == value) {
    return;
  }
  _textPainter.text = value;
  _cachedPlainText = null;
  _cachedAttributedValue = null;
  _cachedCombinedSemanticsInfos = null;
  _extractPlaceholderSpans(value);
  markNeedsTextLayout();
  markNeedsSemanticsUpdate();
}