A modifier that wraps its widget in an Expanded view.
Icon(Icons.person) .flex(1);
Widget flex([int? flex]) { return Expanded(child: this, flex: flex ?? 1); }