textHeight property

double textHeight

Returns the height of the text in the paragraph, or 0 if the paragraph is null or has not been laid out.

Implementation

double get textHeight {
  return _paragraph?.height ?? 0;
}