markMustRecomputeState method

void markMustRecomputeState()


void markMustRecomputeState() {
  if (_mustRecomputeState) return;

  _mustRecomputeState = true;
  _mounted = false;

  // We don't call this._markDependencyMayHaveChanged here because we voluntarily
  // do not want to set the _dependencyMayHaveChanged flag to true.
  // Since the dependency is known to have changed, there is no reason to try
  // and "flush" it, as it will already get rebuilt.
  visitChildren((element) => element._markDependencyMayHaveChanged());