ControllerManager class

Implemented types

Properties

context RenderContext<LoadInstanceContext>
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addChild(RenderNode parentNode, RenderNode childNode, int index) → void
applyProps(RenderNode node) → void
batchComplete(RenderNode? node) → void
createRenderNode(int id, VoltronMap? props, String name, RenderTree tree, bool lazy) RenderNode?
createRootNode(int instanceId) RenderNode?
createViewModel(RenderNode node, VoltronMap? initialProps) → void
createVirtualNode(int id, int pid, int index, String className, VoltronMap props) VirtualNode?
deleteChild(RenderViewModel? parentViewModel, RenderViewModel? childViewModel, {int childIndex = -1}) → void
deleteChildRecursive(GroupViewModel? viewParent, RenderViewModel? child, int childIndex) → void
deleteRoot(int id, [RenderTree? renderTree]) → void
destroy() → void
dispatchUIFunction(int instanceId, int id, String name, String functionName, VoltronArray params, Promise promise) → void
findController(String name, {bool canFindRootNode = false}) VoltronViewController<RenderViewModel, RenderNode>?
findNode(int instanceId, int id) RenderNode?
findTree(int instanceId) RenderTree?
hasNode(RenderNode node) bool
isControllerLazy(String name) bool
manageChildComplete(RenderNode node) → void
move(RenderNode node, RenderNode toNode, int index) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onInstanceDestroy(int instanceId) → void
override
onInstanceLoad(int instanceId) → void
override
onInstancePause(int instanceId) → void
override
onInstanceResume(int instanceId) → void
override
processControllers(List<ViewControllerGenerator>? generators) → void
toString() String
A string representation of this object.
inherited
tryInitRoot(int instanceId) RenderNode?
updateEvents(RenderNode node, Set<EventHolder> holders) → void
updateExtra(RenderNode node, Object updateExtra) → void
updateLayout(RenderNode node) → void
updateWidget(RenderNode? node, VoltronMap? newProps) → void

Operators

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