RenderView constructor

RenderView({RenderBox child, @required ViewConfiguration configuration, @required Window window })

Creates the root of the render tree.

Typically created by the binding (e.g., RendererBinding).

The configuration must not be null.

Implementation

RenderView({
  RenderBox child,
  @required ViewConfiguration configuration,
  @required ui.Window window,
}) : assert(configuration != null),
     _configuration = configuration,
     _window = window {
  this.child = child;
}