Replies: 1 comment
-
Did you find some solution ? I had the same problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm struggling for a while with how to use riverpod with @riverpod generator to make API call only when button has been pressed but without initial call on build() method. For example i would like to use it to make a call to backend server to log in, therefore i dont want any API calls before user enters credentials. The following code doesnt need credentials but it doesnt matter, im wondering how to do it so initial build() method want make an API call.
Thanks in advance
Dawid
Beta Was this translation helpful? Give feedback.
All reactions