propagateToApplicableNotifiers method

  1. @internal
void propagateToApplicableNotifiers(
  1. Component component,
  2. void callback(
    1. ComponentsNotifier<Component>
    )
)

Implementation

@internal
void propagateToApplicableNotifiers(
  Component component,
  void Function(ComponentsNotifier) callback,
) {
  for (final notifier in notifiers) {
    if (notifier.applicable(component)) {
      callback(notifier);
    }
  }
}