notifyUpdate method

void notifyUpdate()

Notifies props node and all hooks that the widget has been updated.

Implementation

@pragma('vm:prefer-inline')
@pragma('wasm:prefer-inline')
@pragma('dart2js:prefer-inline')
void notifyUpdate() {
  propsNode.notify();
  for (var hook in _hooks) {
    hook.didUpdateWidget();
  }
}