notifyDependent method

  1. @protected
void notifyDependent(
  1. covariant InheritedWidget oldWidget,
  2. Element dependent
)

Called by notifyClients for each dependent.

Calls dependent.didChangeDependencies() by default.

Subclasses can override this method to selectively call didChangeDependencies based on the value of getDependencies.

See also:

Implementation

@protected
void notifyDependent(covariant InheritedWidget oldWidget, Element dependent) {
  dependent.didChangeDependencies();
}