enforce method
- LayoutConstraints other
These constraints, pulled inside other.
Every bound is clamped into other's range.
Implementation
LayoutConstraints enforce(LayoutConstraints other) => .new(
min: min.clampedBetween(other.min, other.max),
max: max.clampedBetween(other.min, other.max),
);