childrenFactory property

OrderedSet<Component> Function() childrenFactory
getter/setter pair

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 OrderedSet<Component> Function() childrenFactory = () {
  return OrderedSet.mapping(
    _componentPriorityMapper,
    strictMode: strictQueryMode,
  );
};