getMinIntrinsicCrossAxis method
Returns the minimum extent crossing axis
that this box could be without
failing to correctly paint its contents within itself, without clipping.
Implementation
double getMinIntrinsicCrossAxis(Axis axis, double main) {
return axis == Axis.vertical ?
getMinIntrinsicWidth(main) :
getMinIntrinsicHeight(main);
}