BoxyFlexible.align constructor

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

Same as the default constructor but has a flex factor of 0, and makes crossAxisAlignment a required argument.

Implementation

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