RenderView constructor Null safety
- {RenderBox? child,
- required ViewConfiguration configuration,
- required FlutterView 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.FlutterView window,
}) : assert(configuration != null),
_configuration = configuration,
_window = window {
this.child = child;
}