text property

String get text

The current text content.

Implementation

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

Sets the text content.

Implementation

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