Flexible constructor

Flexible({
  1. required Widget child,
  2. int flex = 1,
  3. FlexFit fit = FlexFit.loose,
  4. Key? key,
})

Implementation

Flexible({
  required this.child,
  this.flex = 1,
  this.fit = FlexFit.loose,
  super.key,
});