PipelineOwner constructor Null safety

PipelineOwner(
  1. {VoidCallback? onNeedVisualUpdate,
  2. VoidCallback? onSemanticsOwnerCreated,
  3. VoidCallback? onSemanticsOwnerDisposed}
)

Creates a pipeline owner.

Typically created by the binding (e.g., RendererBinding), but can be created separately from the binding to drive off-screen render objects through the rendering pipeline.

Implementation

PipelineOwner({
  this.onNeedVisualUpdate,
  this.onSemanticsOwnerCreated,
  this.onSemanticsOwnerDisposed,
});