updateShouldNotifyDependent method
Return true if the changes between this model and oldWidget
match any
of the dependencies
.
Implementation
@override
bool updateShouldNotifyDependent(
InheritedModel oldWidget, Set dependencies) =>
dependencies.contains(change);