RenderCustomSingleChildLayoutBox constructor

RenderCustomSingleChildLayoutBox({
  1. RenderBox? child,
  2. required SingleChildLayoutDelegate delegate,
})

Creates a render box that defers its layout to a delegate.

The delegate argument must not be null.

Implementation

RenderCustomSingleChildLayoutBox({
  RenderBox? child,
  required SingleChildLayoutDelegate delegate,
}) : _delegate = delegate,
     super(child);