getIntrinsicHeight method

  1. @override
int getIntrinsicHeight(
  1. int width
)
override

Returns the intrinsic height of this element.

Implementation

@override
int getIntrinsicHeight(int width) {
  var maxH = 0;
  for (final child in childElements) {
    final h = child.getIntrinsicHeight(width);
    if (h > maxH) maxH = h;
  }
  return maxH;
}