markMustRecomputeState method
void
markMustRecomputeState()
Implementation
void markMustRecomputeState() {
if (_mustRecomputeState) return;
_mustRecomputeState = true;
_mounted = false;
_runOnDispose();
_container._scheduler.scheduleProviderRefresh(this);
// 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());
}