Skip to content

Is get valueWatcher => ref.watch(valueProvider) inadvasied? #3590

Answered by snapsl
spauldhaliwal asked this question in Q&A
Discussion options

You must be logged in to vote

Only works in StatefulConsumerWidget, not in ConsumerWidgets. People trying to read your code might get confused. Other than that, you are fine.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by spauldhaliwal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants