updateShouldNotifyDependent method

  1. @protected
bool updateShouldNotifyDependent(
  1. InheritedMediator oldWidget,
  2. HashSet<Object> dependencies
)

Return true if the changes between this model and oldWidget match any of the dependencies.

Implementation

@protected
bool updateShouldNotifyDependent(
    InheritedMediator oldWidget, HashSet<Object> dependencies) {
  return dependencies.intersection(_globalFrameAspects).isNotEmpty;
}