What I really like from what you showed is the ability to pass a reference (read: ref.read) and use it in other provider classes, changes everything for me, thanks! Good to hear some locals on the topic here too!
That clarifies some problems that I had with riverpod. Thanks. The whole provider variety is more confusing than helpful, I think. A universal provider would be nice. The structure of the documentation is even more confusing.
Have a couple of videos lined up before getting to testing :). Next one is FutureProvider and AsyncValue. This will probs be my favourite one. And a must watch to learn some cool tricks
At 13:35 you mentioned not use ref.watch inside your provider but what if you want state to be updated based on for example firestore document stream? How would you deal with that? Thanks
I could! But security behind login is mostly on the backend! Some tips for login on a mobile app. 1) Don't store any credentials, 2) Be sure to use HTTPS (extra bonus do Certificate Pinning), 3) Only use biometrics to store a long lived session token, not a username and password. 4) be sure to use the correct text views (for example hide the password with *****).
Hey There, i would like to know how can i close a streamProvider? Lets say i have a stream that returns an int, and the stream is Stream.periodic with 1 second as duration. The int is incrementing by 1 from 0 - 5 and once reached 5 i wish to close the listening to the stream so the UI won't rebuild again and again. How can i implement it? this is something im having alot of trubles with lately and didn't found any good explanation suprisingly. Thank you!
@@FunwithFlutter Hi, i've looked at it, can you provide a code example of what it should look like, i've really struggeled with it for a long time. Thank you once again!