text property

TextSpan text

The text to display.

Implementation

TextSpan get text => _textPainter.text as TextSpan;
void text= (TextSpan value)

Implementation

set text(TextSpan value) {
  if (_textPainter.text == value)
    return;
  _textPainter.text = value;
  _cachedPlainText = null;
  markNeedsTextLayout();
  markNeedsSemanticsUpdate();
}