preferredLineHeight property

  1. @visibleForTesting
double get preferredLineHeight

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;