initRenderView method

  1. @override
void initRenderView ()
override

Creates a RenderView object to be the root of the RenderObject rendering tree, and initializes it so that it will be rendered when the next frame is requested.

Called automatically when the binding is created.

Implementation

@override
void initRenderView() {
  assert(renderView == null);
  renderView = _LiveTestRenderView(
    configuration: createViewConfiguration(),
    onNeedPaint: _handleViewNeedsPaint,
    window: window,
  );
  renderView.prepareInitialFrame();
}