expanded property

Widget get expanded

creates an Expanded Widget with SizedBox as its child and has this num as it's flex

Implementation

Widget get expanded => Expanded(flex: this.toInt(), child: const SizedBox());