flexible method

Widget flexible({
  1. int flex = 1,
})

Can shrink in a Row/Column but does not have to fill. child.flexible()

Implementation

Widget flexible({int flex = 1}) => Flexible(flex: flex, child: this);