Flexible constructor

const Flexible({
  1. int flex = 1,
  2. required Widget child,
})

Creates a widget that controls how a child of a Row or Column flexes.

Implementation

const Flexible({this.flex = 1, required this.child});