text property

String get text

The text string to render.

Implementation

String get text => _text;
set text (String v)

Sets the text and marks the render object as needing layout.

Implementation

set text(String v) {
  if (_text == v) return;
  _text = v;
  _invalidateLayoutCache();
  markNeedsLayout();
}