wordBoundaries property
Returns a TextBoundary that can be used to perform word boundary analysis on the current text.
This TextBoundary uses word boundary rules defined in Unicode Standard Annex #29.
Implementation
WordBoundary get wordBoundaries => _textPainter.wordBoundaries;