expanded method

Widget expanded({
  1. Key? key,
  2. int flex = 1,
})

Implementation

Widget expanded({
  Key? key,
  int flex = 1,
}) =>
    Expanded(
      key: key,
      child: this,
      flex: flex,
    );