Skip to content

Multiple calls to build method when reading an AutoDisposeNotifier #2436

Answered by AhmedLSayed9
MisterLight asked this question in Q&A
Discussion options

You must be logged in to vote

Don't use ref.read to subscribe for changes inside build. instead, use ref.watch.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@SamNdirangu
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by MisterLight
Comment options

You must be logged in to vote
1 reply
@gdurandrexel
Comment options

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