RenderListBody constructor

RenderListBody({
  1. List<RenderBox>? children,
  2. 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,
}) : _axisDirection = axisDirection {
  addAll(children);
}