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,
      flex: flex,
      fit: fit,
      child: this,
    );