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 engine is next ready to display a frame.

Called automatically when the binding is created.

Implementation

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