loosen method Null safety
Returns new box constraints that remove the minimum width and height requirements.
Implementation
BoxConstraints loosen() {
assert(debugAssertIsValid());
return BoxConstraints(
maxWidth: maxWidth,
maxHeight: maxHeight,
);
}