updateOrderPriority method
void
updateOrderPriority()
reorder components by priority
Implementation
void updateOrderPriority() {
if (children.isNotEmpty) {
// ignore: invalid_use_of_internal_member
children.reorder();
_highestPriority = children.last.priority;
}
}