registerRenderHost method

void registerRenderHost(
  1. TreeRenderHost host
)

Registers a render host. Called by RenderSliverTree.attach. Idempotent.

Internal contract — the staging protocol is sliver-render-object- specific; external callers will get inconsistent results.

Implementation

void registerRenderHost(TreeRenderHost host) {
  _renderHosts.add(host);
}