Skip to content

How to use Riverpod in a pure Dart project? #3694

Answered by rrousselGit
KristijanZic asked this question in Q&A
Discussion options

You must be logged in to vote

Generally you'll want to create only one ProviderContainer, inside the main (not as a global!).
Then have the main container.listen some providers.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
6 replies
@snapsl
Comment options

@rrousselGit
Comment options

@KristijanZic
Comment options

@snapsl
Comment options

@KristijanZic
Comment options

Comment options

You must be logged in to vote
2 replies
@KristijanZic
Comment options

@rrousselGit
Comment options

Answer selected by KristijanZic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants