You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Their usage is pretty much the same. From the documentation I got, that the AutoDisposeChangeNotifierProvider will destroy their state when no-longer listened to, while the ChangeNotifierProvider will keep it's last state. For that Provider.autoDispose is used. More info can be found in the Riverpod Documentation
I was not familiar with AutoDisposeChangeNotifierProvider and am finding it bit challenging to find the difference. Both seem to work
The text was updated successfully, but these errors were encountered: