debugLines property
The lines as the last layout set them, in this box's coordinates: each line's words, where they start once the line is aligned in its room, its top, its baseline, and its words' width.
Implementation
@visibleForTesting
List<({String text, double x, double y, double baseline, double width})> get debugLines => [
for (final l in _laid?.lines ?? const <_Line>[])
(
text: _plain.substring(l.start, l.end).replaceAll('\u200B', ''),
x: l.x - _shift.left + _alignOffset(l),
y: l.y - _shift.top,
baseline: l.y - _shift.top + l.baseline,
width: l.width,
),
];