findMaxHeight method

double findMaxHeight(
  1. Map<TextLayoutItem, Size> intrinsicSizes
)

Implementation

double findMaxHeight(Map<TextLayoutItem, Size> intrinsicSizes) {
  var max = 0.0;
  for (final size in intrinsicSizes.values) {
    if (size.height > max) max = size.height;
  }
  return max;
}