TextSpan text

The text to display

Source

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

Source

set text(TextSpan value) {
  assert(value != null);
  if (_textPainter.text == value)
    return;
  _textPainter.text = value;
  _overflowShader = null;
  markNeedsLayout();
}