pieces property
List<({double baseline, bool reversed, TextStyle style, String text, double width, double x})>
get
pieces
The text as it was set: each run of one text node on one line, from
the left of its advance, on its baseline -- what an ellipsis hides
left out, and the ellipsis in. reversed: a run at an odd bidi level,
its text in logical order and painted right to left.
Implementation
@visibleForTesting
List<({String text, double x, double baseline, double width, TextStyle style, bool reversed})> get pieces => [
for (final p in _laid?.pieces ?? const <_Piece>[])
if (!p.hidden) (text: p.text, x: p.x, baseline: p.baseline, width: p.width, style: p.style, reversed: p.reversed),
];