preferredLineHeight property
An estimate of the height of a line in the text. See TextPainter.preferredLineHeight.
This does not require the layout to be updated.
Implementation
@visibleForTesting
double get preferredLineHeight => _textPainter.preferredLineHeight;