ListBody constructor Null safety
Creates a layout widget that arranges its children sequentially along a given axis.
By default, the mainAxis is Axis.vertical.
Implementation
ListBody({
super.key,
this.mainAxis = Axis.vertical,
this.reverse = false,
super.children,
}) : assert(mainAxis != null);