SeparatedRow constructor
const
SeparatedRow({
- Key? key,
- TextBaseline? textBaseline,
- TextDirection? textDirection,
- List<
Widget> children = const <Widget>[], - bool includeOuterSeparators = false,
- MainAxisSize mainAxisSize = MainAxisSize.max,
- VerticalDirection verticalDirection = VerticalDirection.down,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.start,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
- required IndexedWidgetBuilder separatorBuilder,
Creates a horizontal 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 determine the layout order (which is always the case
unless the row has no children or only one child) or to disambiguate
start
or end
values for the mainAxisAlignment, the textDirection
must not be null.
Implementation
const SeparatedRow({
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);