updateShouldNotify method
Checks if update should notify other widgets about change. For this checks if scope changed.
Implementation
@override
bool updateShouldNotify(InheritedWidget oldWidget) {
if (oldWidget is DimeFlutter) {
return oldWidget.scope != scope;
} else {
return oldWidget != this;
}
}