TextSpan text

The (potentially styled) text to paint.

Source

TextSpan get text => _text;
void text=(TextSpan value)

Source

set text(TextSpan value) {
  assert(value == null || value.debugAssertIsValid());
  if (_text == value)
    return;
  _text = value;
  _paragraph = null;
  _needsLayout = true;
}