RenderCustomMultiChildLayoutBox constructor Null safety

RenderCustomMultiChildLayoutBox(
  1. {List<RenderBox>? children,
  2. required MultiChildLayoutDelegate delegate}
)

Creates a render object that customizes the layout of multiple children.

The delegate argument must not be null.

Implementation

RenderCustomMultiChildLayoutBox({
  List<RenderBox>? children,
  required MultiChildLayoutDelegate delegate,
}) : assert(delegate != null),
     _delegate = delegate {
  addAll(children);
}