flexible method

Widget flexible({
  1. Key? key,
  2. int flex = 1,
  3. FlexFit fit = FlexFit.loose,
})

Implementation

Widget flexible({
  Key? key,
  int flex = 1,
  FlexFit fit = FlexFit.loose,
}) =>
    Flexible(
      key: key,
      child: this,
      flex: flex,
      fit: fit,
    );