updateTree method

  1. @override
void updateTree(
  1. double dt
)
inherited

This method traverses the component tree and calls update on all its children according to their priority order, relative to the priority of the direct siblings, not the children or the ancestors.

Implementation

@override
void updateTree(double dt) {
  processLifecycleEvents();
  if (parent != null) {
    update(dt);
  }
  for (final component in children) {
    component.updateTree(dt);
  }
  processRebalanceEvents();
}