withMinWidth method
Set the min width of this widget to minWidth
by wrapping it inside a ConstrainedBox
Implementation
Widget withMinWidth(double minWidth) {
return ConstrainedBox(constraints: BoxConstraints(minWidth: minWidth), child: this);
}
Set the min width of this widget to minWidth
by wrapping it inside a ConstrainedBox
Widget withMinWidth(double minWidth) {
return ConstrainedBox(constraints: BoxConstraints(minWidth: minWidth), child: this);
}