SpacedColumn constructor
const
SpacedColumn({
- Key? key,
- required List<
Widget> children, - double? spacing,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- TextDirection? textDirection,
- VerticalDirection verticalDirection = VerticalDirection.down,
- TextBaseline? textBaseline,
A widget that displays a column of children with customizable vertical spacing.
The SpacedColumn widget allows you to display a column of widgets with a specified spacing between each child. It also supports various alignment options for the main axis, cross axis, and text direction.
Implementation
const SpacedColumn({
super.key,
required this.children,
this.spacing,
this.mainAxisAlignment = MainAxisAlignment.start,
this.mainAxisSize = MainAxisSize.max,
this.crossAxisAlignment = CrossAxisAlignment.center,
this.textDirection,
this.verticalDirection = VerticalDirection.down,
this.textBaseline,
});