update method

  1. @override
void update(
  1. covariant ProxyWidget newWidget
)
override

Rebuilds the subtree anyway when the parent updates the element while a notify-only rebuild (notifyDependents) is pending.

Implementation

@override
void update(covariant ProxyWidget newWidget) {
  _forceRebuild = true;
  super.update(newWidget);
}