updated method

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

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);
}