tight

Size

size

minWidth

size

width

maxWidth

size

width

minHeight

size

height

maxHeight

size

height

If you revisit Example 2 above,
it tells us that the screen forces the red
Container to be exactly the same size as the screen.
The screen does that, of course, by passing tight
constraints to the Container.

A loose constraint, on the other hand,
sets the maximum width and height, but lets the widget
be as small as it wants. In other words,
a loose constraint has a minimum width and height
both equal to zero:

BoxConstraints

loose

Size

size

minWidth

0.0

maxWidth