updateShouldNotify method
Called when a provider is rebuilt. Used for providers to not notify their listeners if the exposed value did not change.
Implementation
@override
bool updateShouldNotify(State previous, State next) {
return previous != next;
}