text property

TextSpan text

The text to display.

Implementation

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

Implementation

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