flexible method

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

Implementation

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