registerNode method
Implementation
void registerNode(RenderNode node) {
if (node.id != id && !_hasNotifyViewAdd) {
_hasNotifyViewAdd = true;
_rootWidgetViewModel.onViewAdd();
}
_nodeMap[node.id] = node;
}
void registerNode(RenderNode node) {
if (node.id != id && !_hasNotifyViewAdd) {
_hasNotifyViewAdd = true;
_rootWidgetViewModel.onViewAdd();
}
_nodeMap[node.id] = node;
}