debugDrawnWidths property
How wide each line is drawn: its words, or its whole room where it is
justified (_justified).
Implementation
@visibleForTesting
List<double> get debugDrawnWidths => [
for (final l in _laid?.lines ?? const <_Line>[])
if (l.end > l.start)
() {
final (tp, _) = _linePainter(l);
final w = tp.computeLineMetrics().first.width;
tp.dispose();
return w;
}(),
];