minAxis method

double minAxis(
  1. Axis axis
)

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

Implementation

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