why, if I have a class with an int, and the Notifier changes the int, like "state.myInt++", I can't see the change in the Text(myProvider.myInt)? this is crazy, I had 2 change every property of state (created a "Copy" function) so that the change registers ... ok ...
you need to have state = somewhere, if you update a method of state riverpod does not update the widget. your class is immutable, therefore you use the copyWith to do state = state.copyWith(myInt: state.myInt+1);
If i want to change a like button color to blue when it pressed Which one should i use statenotifier or state provider? Is there any way to contact you personally for clearing doubts through telegram,whatsapp or Instagram?
Love ur tutorial, complete and straight to the point 😊
You are most welcome
please make a video about (Async)NotifierProvider
can anyone tell me which theme he's using in VS Code???
brother just....its android studio.
Can you make more video for Riverpod CRUD Operation in API , thanks
yes, will make more
Hi , The update method , will add the new number to previous number
If you want you can do it.
thank's very much
Most welcome
why, if I have a class with an int, and the Notifier changes the int, like "state.myInt++", I can't see the change in the Text(myProvider.myInt)?
this is crazy, I had 2 change every property of state (created a "Copy" function) so that the change registers ... ok ...
you need to have state = somewhere, if you update a method of state riverpod does not update the widget. your class is immutable, therefore you use the copyWith to do state = state.copyWith(myInt: state.myInt+1);
slam alykom Brather,
what the name of this thime?
If i want to change a like button color to blue when it pressed
Which one should i use statenotifier or state provider?
Is there any way to contact you personally for clearing doubts through telegram,whatsapp or Instagram?
+1 for the salamu alaikum
do this tutorial using repository pattern
I will try to create
@@dbestech I appreciate you
You have CURD instead of CRUD on your thumbnail 😉
Thank you so much. fixed it
❤❤
thanks