updated method Null safety
- covariant ProxyWidget oldWidget
protected">@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);
}