FlexConstraintBox constructor
const
FlexConstraintBox({
- Key? key,
- Axis direction = Axis.horizontal,
- required Widget child,
- BoxConstraints constraints = flexDefaultConstraint,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- TextBaseline? textBaseline,
- 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,
});