Access initState() and dispose() in a ConsumerWidget #557
Answered
by
TimWhiting
julienlebren
asked this question in
Q&A
-
👋 Everything is in the title. How can I achieve that? I want to init some stuff when the widget is created, I was using a But my |
Beta Was this translation helpful? Give feedback.
Answered by
TimWhiting
Jun 30, 2021
Replies: 1 comment
-
There is a ConsumerStatefulWidget that has a |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
julienlebren
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There is a ConsumerStatefulWidget that has a
ref
property that you can access ininitState
/dispose