notifyClients method

  1. @override
void notifyClients(
  1. covariant InheritedWidget oldWidget
)
override

Notifies all dependent elements that this inherited widget has changed, by calling Element.didChangeDependencies.

This method must only be called during the build phase. Usually this method is called automatically when an inherited widget is rebuilt, e.g. as a result of calling State.setState above the inherited widget.

See also:

Implementation

@override
void notifyClients(covariant InheritedWidget oldWidget) {
  super.notifyClients(oldWidget);
  _dirty = false;
}