BoxConstraints.loose constructor
BoxConstraints.loose(
- Size size
Creates loose constraints that allow sizes from zero up to the given size.
Implementation
BoxConstraints.loose(Size size)
: minWidth = 0,
maxWidth = size.width,
minHeight = 0,
maxHeight = size.height;