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