createRootPipelineOwner method

PipelineOwner createRootPipelineOwner()

Creates the PipelineOwner that serves as the root of the pipeline owner tree (rootPipelineOwner).

By default, the root pipeline owner is not setup to manage a render tree and its PipelineOwner.rootNode must not be assigned. If necessary, createRootPipelineOwner may be overridden to create a root pipeline owner configured to manage its own render tree.

In typical use, child pipeline owners are added to the root pipeline owner (via PipelineOwner.adoptChild). Those children typically do each manage their own RenderView and produce distinct render trees which render their content into the FlutterView associated with that RenderView.


PipelineOwner createRootPipelineOwner() {
  return _DefaultRootPipelineOwner();