getMaxIntrinsicCrossAxis method
Returns the smallest cross extent on axis
beyond which increasing the
cross extent never decreases the preferred main extent. The preferred main
extent is the value that would be returned by getMinIntrinsicAxis for
that cross extent.
Implementation
double getMaxIntrinsicCrossAxis(Axis axis, double main) {
return axis == Axis.vertical
? getMaxIntrinsicWidth(main)
: getMaxIntrinsicHeight(main);
}