updateSubtree method
Updates this component and its subtree.
The default implementation performs the engine's standard traversal: update this component, then update the children in priority order.
Implementation
@override
void updateSubtree(double dt) {
if (parent != null) {
processLifecycleEvents();
update(dt);
}
updateChildrenFlat(dt);
}