text property

String get text

The composed text of the text ranges.

Implementation

String get text =>
    ranges.map((r) => pageText.fullText.substring(r.start, r.end)).join();