text property

String get text

Implementation

String get text => (_painter.text as TextSpan).text ?? '';
set text (String v)

Implementation

set text(String v) {
  if (text == v) return;
  _painter.text = TextSpan(text: v, style: style);
  markNeedsLayout();
}