isShrinkWrappedIn method

bool isShrinkWrappedIn(
  1. LayoutAxis axis
)

Implementation

bool isShrinkWrappedIn(LayoutAxis axis) {
  return switch (axis) {
    LayoutAxis.x => layoutSizeX == null,
    LayoutAxis.y => layoutSizeY == null,
  };
}