BuildOwner class
Coordinates the build pipeline, render root, focus, and input for an app.
Constructors
- BuildOwner({InputManager? inputManager, TickerScheduler? tickerScheduler})
- Creates an advanced build and frame coordinator.
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
- 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 maintained-depth order under a reentrancy guard. Performs zero Element parent walks.
-
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
-
reassemble(
) → void -
Invokes State.reassemble on every live retained state and marks every
live element dirty so the next buildScope re-runs its
build(). -
removeRootRenderObjectChild(
RenderObject child) → void - Remove a top-level render child from the attached root render object.
-
setFrameCallback(
FrameCallback cb) → void -
Registers
cbto run whenever a frame is scheduled. -
setRenderer(
Renderer renderer) → void -
Attaches
rendereras the output target for this owner. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited