updateShouldNotifyDependent method

bool updateShouldNotifyDependent(
  1. Inheritable<T> oldWidget,
  2. Iterable<DependableAspect<T>> dependencies
)

Implementation

bool updateShouldNotifyDependent(
  Inheritable<T> oldWidget,
  Iterable<DependableAspect<T>> dependencies,
) {
  return dependencies.any(
    (aspect) => aspect.didUpdateWidget(prev: oldWidget, next: this),
  );
}