length property

int get length

Returns the length of this AttributedText, which includes the length of the plain text String, and the number of placeholders.

Implementation

int get length => _text.length + placeholders.length;