RenderView constructor
- RenderBox? child,
- ViewConfiguration? configuration,
- required FlutterView view,
Creates the root of the render tree.
Typically created by the binding (e.g., RendererBinding).
Providing a configuration
is optional, but a configuration must be set
before calling prepareInitialFrame. This decouples creating the
RenderView object from configuring it. Typically, the object is created
by the View widget and configured by the RendererBinding when the
RenderView is registered with it by the View widget.
Implementation
RenderView({
RenderBox? child,
ViewConfiguration? configuration,
required ui.FlutterView view,
}) : _view = view {
if (configuration != null) {
this.configuration = configuration;
}
this.child = child;
}