getMinIntrinsicAxis method

double getMinIntrinsicAxis(
  1. Axis axis,
  2. double cross
)

Returns the minimum extent on axis that this box could be without failing to correctly paint its contents within itself, without clipping.

Implementation

double getMinIntrinsicAxis(Axis axis, double cross) {
  return axis == Axis.vertical
      ? getMinIntrinsicHeight(cross)
      : getMinIntrinsicWidth(cross);
}