BoxyFlexible constructor

const BoxyFlexible({
  1. Key? key,
  2. int flex = 1,
  3. FlexFit fit = FlexFit.loose,
  4. bool dominant = false,
  5. CrossAxisAlignment? crossAxisAlignment,
  6. required Widget child,
})

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

Implementation

const BoxyFlexible({
  super.key,
  this.flex = 1,
  this.fit = FlexFit.loose,
  this.dominant = false,
  this.crossAxisAlignment,
  required super.child,
});