updated method

  1. @protected
void updated (covariant ProxyWidget oldWidget)
@protected

Called during build when the widget has changed.

By default, calls notifyClients. Subclasses may override this method to avoid calling notifyClients unnecessarily (e.g. if the old and new widgets are equivalent).

Implementation

@protected
void updated(covariant ProxyWidget oldWidget) {
  notifyClients(oldWidget);
}