ListBody constructor

const ListBody({
  1. Key? key,
  2. Axis mainAxis = Axis.vertical,
  3. bool reverse = false,
  4. List<Widget> children = const <Widget>[],
})

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

By default, the mainAxis is Axis.vertical.

Implementation

const ListBody({super.key, this.mainAxis = Axis.vertical, this.reverse = false, super.children});