updateShouldNotify method
Determines whether the framework should notify widgets that inherit from this widget.
In this case, always returns true as any changes in the LocalizationManager should trigger updates in dependent widgets.
Implementation
@override
bool updateShouldNotify(LocalizationProvider oldWidget) {
return true;
}