ListBody constructor

ListBody(
  1. {Key key,
  2. Axis mainAxis: Axis.vertical,
  3. bool reverse: false,
  4. 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);