getVertIntrinsicSize function
Implementation
Size getVertIntrinsicSize(RenderBox renderBox) {
double childWidth = renderBox.getMinIntrinsicWidth(double.infinity);
double childHeight = renderBox.getMaxIntrinsicHeight(childWidth);
return Size(childWidth, childHeight);
}