FlexibleModifier constructor

const FlexibleModifier({
  1. Key? key,
  2. Widget? child,
  3. Key? modifierKey,
  4. int flex = 1,
  5. FlexFit fit = FlexFit.loose,
})

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

Implementation

const FlexibleModifier({
  super.key,
  super.child,
  super.modifierKey,
  this.flex = 1,
  this.fit = FlexFit.loose,
});