text property

String get text

The text content to be rendered.

Setting this property triggers a layout recalculation.

Implementation

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

Implementation

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