childrenFactory property
Component.childrenFactory
is the default method for creating children
containers within all components. Replace this method if you want to have
customized (non-default) OrderedSet
instances in your project.
Implementation
static ComponentSetFactory childrenFactory = () {
return OrderedSet.queryable(
OrderedSet.mapping<num, Component>(_componentPriorityMapper),
strictMode: false,
);
};