SpacedFlex.extraBig constructor
const
SpacedFlex.extraBig({
- Key? key,
- required Axis direction,
- Clip clipBehavior = Clip.hardEdge,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextBaseline? textBaseline,
- List<
Widget> ? children, - EdgeInsets? padding,
Creates a flex layout with an extraBig
space between children.
The direction is required.
The direction, mainAxisAlignment, crossAxisAlignment, and verticalDirection arguments must not be null. If crossAxisAlignment is CrossAxisAlignment.baseline, then textBaseline must not be null.
The textDirection argument defaults to the ambient Directionality, if
any. If there is no ambient directionality, and a text direction is going
to be necessary to decide which direction to lay the children in or to
disambiguate start
or end
values for the main or cross axis
directions, the textDirection must not be null.
A padding can be defined to add space around children.
Implementation
const SpacedFlex.extraBig({
Key? key,
required this.direction,
this.clipBehavior = Clip.hardEdge,
this.mainAxisAlignment = MainAxisAlignment.start,
this.mainAxisSize = MainAxisSize.max,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.textBaseline,
this.children,
this.padding,
}) : sizeBetween = SpaceSize.extraBig,
spaceBetween = null;