InteractableRegistry class Core Interaction

A utility class for recursively registering interactable components.

InteractableRegistry walks the component tree and registers any InteractableComponentInstance instances with the provided FocusManager, and assigns the given RenderManager to them.

This is typically called once during the initialization of a UI scene to wire up interactivity and state-driven rendering.

Example usage:

final registry = InteractableRegistry();
registry.registerInteractables(rootComponent, focusManager, renderManager);

Constructors

InteractableRegistry.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerInteractables(ComponentInstance componentInstance, FocusManager focusManager, RenderManager renderManager) → void
Recursively registers interactable components with the focus and render systems.
toString() String
A string representation of this object.
inherited

Operators

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