widthConstraints method Null safety
Returns box constraints with the same width constraints but with unconstrained height.
Implementation
BoxConstraints widthConstraints() => BoxConstraints(minWidth: minWidth, maxWidth: maxWidth);
Returns box constraints with the same width constraints but with unconstrained height.
BoxConstraints widthConstraints() => BoxConstraints(minWidth: minWidth, maxWidth: maxWidth);