Is your feature request related to a problem? Please describe.
In the new version of StateNotifier, there is a fix that does not notify listeners if it is identical when updating state.
Sometimes I want to notify listeners even if the objects is identical.
I want you to be able to choose whether to notify listeners.
Describe the solution you'd like
I would like a method like the one below and I want it to be able to be overridden.
bool updateShouldNotify(T previous, T current) {
return !identical(previous, current);
}
Is your feature request related to a problem? Please describe. In the new version of StateNotifier, there is a fix that does not notify listeners if it is identical when updating state. Sometimes I want to notify listeners even if the objects is identical. I want you to be able to choose whether to notify listeners.
Describe the solution you'd like I would like a method like the one below and I want it to be able to be overridden.