BuildOwner class

Coordinates the build pipeline, render root, focus, and input for an app.

Constructors

BuildOwner({InputManager? inputManager, TickerScheduler? tickerScheduler, PipelineOwner? pipelineOwner})
Creates a build owner, wiring its input, ticker, and render pipeline.

Properties

cursorController CursorController
Controls terminal cursor position and visibility.
final
focusManager FocusManager
Manages focus traversal and the primary focus node.
latefinal
hashCode int
The hash code for this object.
no setterinherited
inputManager InputManager
Routes keyboard and pointer input for this owner.
final
pipelineOwner ↔ PipelineOwner
The render pipeline owner used by render-object elements.
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tickerScheduler TickerScheduler
The scheduler driving animation ticker callbacks.
no setter

Methods

attachRootRenderObject(RenderObjectWithSingleChild root) → void
Attach the root render object used as the pipeline frame root.
buildScope() → void
Rebuilds all dirty elements in depth order under a reentrancy guard.
clearRenderer() → void
Detaches the current renderer and cursor controller.
clearRootRenderObject(RenderObjectWithSingleChild root) → void
Clear the attached root render object without disposing render resources.
dispose() → void
Dispose owned frame pipeline state.
handleBeginFrame(Duration timeStamp) → void
Advances animation tickers for the frame at timeStamp.
insertRootRenderObjectChild(RenderObject child) → void
Insert a top-level render child into the attached root render object.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRootRenderObjectChild(RenderObject child) → void
Remove a top-level render child from the attached root render object.
scheduleBuild(Element e) → void
Marks element e dirty (deduped via _dirtySet) and requests a frame.
setFrameCallback(FrameCallback cb) → void
Registers cb to run whenever a frame is scheduled.
setRenderer(Renderer renderer) → void
Attaches renderer as the output target for this owner.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited