FlexConstraintBox constructor

const FlexConstraintBox({
  1. Key? key,
  2. Axis direction = Axis.horizontal,
  3. required Widget child,
  4. BoxConstraints constraints = flexDefaultConstraint,
  5. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  6. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  7. TextBaseline? textBaseline,
  8. TextDirection? textDirection,
})

Implementation

const FlexConstraintBox({
  super.key,
  this.direction = Axis.horizontal,
  required this.child,
  this.constraints = flexDefaultConstraint,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.textBaseline,
  this.textDirection,
});