hasBoundedAxis method

bool hasBoundedAxis(
  1. Axis axis
)

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

Implementation

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