ComponentSet constructor
With default settings, creates a ComponentSet with the compare function that uses the Component's priority for sorting.
Implementation
ComponentSet({
int Function(Component e1, Component e2)? comparator,
bool? strictMode,
}) : super(
comparator: comparator ?? Comparing.on<Component>((c) => c.priority),
strictMode: strictMode ?? defaultStrictMode,
);