reorder method
- @internal
Sorts the components according to their priority
s. This method is
invoked by the framework when it knows that the priorities of the
components in this set has changed.
Implementation
@internal
void reorder() {
final elements = toList();
// bypass the wrapper because the components are already added
super.clear();
elements.forEach(super.add);
}