plainText property

String get plainText

Returns a plain text version of the text in TextPainter.

If obscureText is true, returns the obscured text. See obscureText and obscuringCharacter. In order to get the styled text as an InlineSpan tree, use text.

Implementation

String get plainText => _textPainter.plainText;