minCrossAxis method

double minCrossAxis(
  1. Axis axis
)

The minimum value that satisfies the constraints crossing the given axis.

Implementation

double minCrossAxis(Axis axis) {
  return axis == Axis.vertical ? minWidth : minHeight;
}