expanded method

Widget expanded([
  1. int? flex
])

Implementation

Widget expanded([final int? flex]) => Expanded(flex: flex ?? 1, child: this);