plainText property

String get plainText

Returns the unstyled plain-text content of this span and its descendants.

Implementation

String get plainText {
  final buffer = StringBuffer();
  _collectPlainText(buffer);
  return buffer.toString();
}