Replies: 2 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
This is covered by the .notifier documentation https://pub.dev/documentation/flutter_riverpod/latest/flutter_riverpod/AutoDisposeChangeNotifierProvider/notifier.html |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When should I use
myChangeNotifierProvider.notifier
and when onlymyChangeNotifierProvider
.I figured out, that
ref.watch(myChangeNotifierProvider.notifier)
doesn't work, because it doesn't get add to the listeners of the ChaneNotifier.Is there a ruling how to use each of this types?
Beta Was this translation helpful? Give feedback.
All reactions