ConstraintsX extension
Useful extensions on BoxConstraints.
Methods
-
tightenMaxSize(
Size? size) → BoxConstraints -
Returns new box constraints that tightens the max width and max height
to the given
size
.
Useful extensions on BoxConstraints.
size
.