SpacedColumn constructor

const SpacedColumn({
  1. Key? key,
  2. required List<Widget> children,
  3. double? spacing,
  4. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  5. MainAxisSize mainAxisSize = MainAxisSize.max,
  6. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  7. TextDirection? textDirection,
  8. VerticalDirection verticalDirection = VerticalDirection.down,
  9. 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,
});