Replies: 1 comment
-
Assuming you're using Riverpod 2.0.0-dev, you can use ProviderScope's See the changelog & doc of ProviderScope for an example |
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
-
Hi,
I have a profile variable in a screen which launches modal1 through a button, and modal1 will launch modal2 through a button. Both modals need access to the profile variable defined in the screen. What is the best way to do that using Riverpod? I don't want to you StateProvider. I prefer to user Provider. How can dependencies help me in this situation?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions