updateShouldNotifyDependent method
bool
updateShouldNotifyDependent(
- Inheritable<
T> oldWidget, - Iterable<
DependableAspect< dependenciesT> >
Similar to InheritedModel.updateShouldNotifyDependent
Implementation
bool updateShouldNotifyDependent(
Inheritable<T> oldWidget,
Iterable<DependableAspect<T>> dependencies,
) {
return dependencies.any(
(aspect) => aspect.didUpdateWidget(prev: oldWidget, next: this),
);
}