RenderCustomSingleChildLayoutBox constructor

RenderCustomSingleChildLayoutBox({RenderBox child, @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
}) : assert(delegate != null),
     _delegate = delegate,
     super(child);