Are you trying to set minimum or maximum height or width of Container() widget in a Flutter, then use ‘constraints’ attribute and apply BoxConstraints() on it like below.
https://www.fluttercampus.com/guide/60/how-to-set-minimum-and-maximum-height-or-width-of-widget-flutter/
#flutter