SeparatedColumn constructor

const SeparatedColumn({
  1. Key? key,
  2. TextBaseline? textBaseline,
  3. TextDirection? textDirection,
  4. List<Widget> children = const <Widget>[],
  5. bool includeOuterSeparators = false,
  6. MainAxisSize mainAxisSize = MainAxisSize.max,
  7. VerticalDirection verticalDirection = VerticalDirection.down,
  8. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
  9. CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
  10. required IndexedWidgetBuilder separatorBuilder,
})

Creates a vertical array of children with separators between each item.

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 disambiguate start or end values for the crossAxisAlignment, the textDirection must not be null.

Implementation

const SeparatedColumn({
  Key? key,
  this.textBaseline,
  this.textDirection,
  this.children = const <Widget>[],
  this.includeOuterSeparators = false,
  this.mainAxisSize = MainAxisSize.max,
  this.verticalDirection = VerticalDirection.down,
  this.mainAxisAlignment = MainAxisAlignment.start,
  this.crossAxisAlignment = CrossAxisAlignment.center,
  required this.separatorBuilder,
}) : super(key: key);