expanded method

Widget expanded([
  1. int? flex
])

Implementation

Widget expanded([int? flex]) {
  return Expanded(child: this, flex: flex ?? 1);
}