updateSubtree method

  1. @override
void updateSubtree(
  1. double dt
)
override

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);
}