Hi @felangel, this library is great! However, I'm new to this dependency and still learning how to implement it. Along the way, I had difficulty to maintain my state during the application runtime. For example, if screen A holds a person details, how can screen B update the state of person details without losing it?
Hi @wheel1992 馃憢
Thanks for the positive feedback! I really appreciate it 馃檹
Regarding your question, you would probably want to create a UserBloc which holds UserState and you can then access it from anywhere using BlocProvider. To modify the user you would probably want to dispatch events which your bloc would respond to.
I highly recommend going through the Todos Application Tutorial because it is very similar to what you鈥檙e trying to achieve.
Hope that helps! 馃憤
@felangel Thank you so much! I'll follow this example and if I have any more questions, can I post here?
@wheel1992 no problem and of course! Please don鈥檛 hesitate to post any follow up questions you have 馃憤
I鈥檓 more than happy to help 馃槃