Make the widget flexible with a flex factor
Widget flexible([int flex = 1]) => Flexible(flex: flex, child: this);