getHorzIntrinsicSize function
Implementation
Size getHorzIntrinsicSize(RenderBox renderBox) {
double childHeight = renderBox.getMinIntrinsicHeight(double.infinity);
double childWidth = renderBox.getMaxIntrinsicWidth(childHeight);
return Size(childWidth, childHeight);
}