Accessing value outside of context #406
Answered
by
mellowcello77
mellowcello77
asked this question in
Q&A
-
Is there an equivalent to "listen: false" for accessing a value outside of context, such as inside initState? |
Beta Was this translation helpful? Give feedback.
Answered by
mellowcello77
Apr 4, 2021
Replies: 1 comment
-
My bad! "context.read" does the job, very cool 👀 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mellowcello77
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My bad! "context.read" does the job, very cool 👀