RenderProxySliver constructor Null safety

RenderProxySliver(
  1. [RenderSliver? child]
)

Creates a proxy render sliver.

Proxy render slivers aren't created directly because they simply proxy the render sliver protocol to their sliver child. Instead, use one of the subclasses.

Implementation

RenderProxySliver([RenderSliver? child]) {
  this.child = child;
}