withMinWidth method

Widget withMinWidth(
  1. double minWidth
)

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);
}