rebalanceChildren method
void
rebalanceChildren()
inherited
Restores the ordering of the children after values that their ordering
depends on have changed.
Priority changes on mounted components trigger this automatically before
the next update pass. Call it yourself when a custom comparator (see
createComponentList) reads values that changed, but not while
iterating the children, since reordering the list invalidates live
iterators.
Implementation
void rebalanceChildren() => _children?._rebalance();