RenderListBody constructor

RenderListBody({List<RenderBox> children, AxisDirection axisDirection: AxisDirection.down })

Creates a render object that arranges its children sequentially along a given axis.

By default, children are arranged along the vertical axis.

Implementation

RenderListBody({
  List<RenderBox> children,
  AxisDirection axisDirection = AxisDirection.down,
}) : assert(axisDirection != null),
     _axisDirection = axisDirection {
  addAll(children);
}