hasBoundedCrossAxis method

bool hasBoundedCrossAxis(
  1. Axis axis
)

Whether there is an upper bound on the maximum extent crossing the given axis.

Implementation

bool hasBoundedCrossAxis(Axis axis) {
  return axis == Axis.vertical ? hasBoundedWidth : hasBoundedHeight;
}