updateOrderPriority method

void updateOrderPriority()

reorder components by priority

Implementation

void updateOrderPriority() {
  if (children.length > 0) {
    children.rebalanceAll();
    _highestPriority = children.last.priority;
  }
}