ListBody constructor

ListBody({Key key, Axis mainAxis: Axis.vertical, bool reverse: false, List<Widget> children: const [] })

Creates a layout widget that arranges its children sequentially along a given axis.

By default, the mainAxis is Axis.vertical.

Implementation

ListBody({
  Key key,
  this.mainAxis = Axis.vertical,
  this.reverse = false,
  List<Widget> children = const <Widget>[],
}) : assert(mainAxis != null),
     super(key: key, children: children);