updated method

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

Calls Element.didChangeDependencies of all dependent elements, if InheritedWidget.updateShouldNotify returns true.

Called by update, immediately prior to build.

Calls notifyClients to actually trigger the notifications.

Implementation

@override
void updated(InheritedWidget oldWidget) {
  super.updated(oldWidget);
  if (_updatedShouldNotify) {
    notifyClients(oldWidget);
  }
}