text property

InlineSpan? text

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;
void text=(InlineSpan? value)

Implementation

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