loosen method

BoxConstraints loosen ()

Returns new box constraints that remove the minimum width and height requirements.

Implementation

BoxConstraints loosen() {
  assert(debugAssertIsValid());
  return BoxConstraints(
    minWidth: 0.0,
    maxWidth: maxWidth,
    minHeight: 0.0,
    maxHeight: maxHeight
  );
}