Widget flexibleWidget(Widget current) => Flexible( flex: flex ?? 1, fit: expanded ? FlexFit.tight : FlexFit.loose, child: current);