Replies: 2 comments 4 replies
-
It widely depends on the package you want to make. Hard to say without giving your constraints. For example, you could make a package exposing a bunch of providers. Or you could expose a bunch of widgets internally using providers, and ask for folks to wrap their app in ProviderScope (or a custom-made widget that internally uses ProviderScope) |
Beta Was this translation helpful? Give feedback.
4 replies
-
Maybe this can help => #1613 (comment) ? |
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
-
I m creating a package/library and want to implement riverpod as state management. Today I get to see the real shortcoming of Google of not understanding the context. When I try to search "Using riverpod for custom package or library" it gives me results of implementing riverpod the general way.
Anyway, I tried to find the same on the discussion thread and I might have missed out or something but I did not find the answer.
My question:
How to implement riverpod 2.0 the right way in a package where there is no main() to start with?
Beta Was this translation helpful? Give feedback.
All reactions