plainText property

String plainText

Returns a plain text version of the text to paint.

This uses InlineSpan.toPlainText to get the full contents of all nodes in the tree.

Implementation

String get plainText {
  _cachedPlainText ??= _text?.toPlainText(includeSemanticsLabels: false);
  return _cachedPlainText ?? '';
}