searching this for 5 days but u explained in the best way from other videos.... my que is if i'm using provider to set locale in app then should i wrap each page in materialapp and write locale properrty to listen provider variable? and also what is context.watch and context.read ? in provider where to use watch, where to consumer and where to read im so confused
very good explanation brother , with phophoo example you make it more easy , one question if we have two or more provider class than what should the syntax and how we can use 2 provider classes in one screen !
just make two variable just on the top of scaffold, MyModel myModel= provider.of(context); MySecondModel mySecondModel= provider.of(context); Scaffold() and same use like Text(myModel.counter.toString()), Text(mySecondModel.counter.toString()),
repeat the same way make new file of provider, register it. and just like make an other object in view screen just like i created just above on Scaffold, you make another object for second provider
why you are not uploading more videos on flutter please make videos on animation and other core concepts of flutter because your way of understanding concepts is awesome and the main thing is it come into my mind and not go above to head 😄
when we use getter and setter. it help our variable to listen the value. we are not changing values now we are just listening the value . so This help Ui to update without page build. Moreover here we are doing abstraction if by chance some get the variable he can not change our variable value(security concerns).
I think that Provider is used to manage state, but from your code, it seems that state is not being managed properly. It appears to be a confusing concept for beginners. It feels like a waste of time.😏
bro i have a question i could be wrong. isnt the purpose of statemanagement also to only build specific widgets not all the widgets in screen, for performance reasons?
performance is just a summary of whole of list of benefits. I also help developer to complete project as soon as possible, more over less number of lines, less time complexity, less space complexity and much more
Approximately i watched 4 videos on flutter but i got understanding how i use it on this video..doing very well thank you and keep it up
Examples buhat achi hain
I love your teaching style bro! ❤❤❤❤😂😂😂😂😂😂
searching this for 5 days but u explained in the best way from other videos.... my que is if i'm using provider to set locale in app then should i wrap each page in materialapp and write locale properrty to listen provider variable? and also what is context.watch and context.read ? in provider where to use watch, where to consumer and where to read im so confused
very helpful but i want that crome theme you use when peter griffin was going down
i.giphy.com/media/v1.Y2lkPTc5MGI3NjExZWYyZzVpOW11bnExNW5kZTNleWx0M3MyaXkxY3NyeGNmYWo3NzAxayZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/96ciETgT883Bu/giphy.gif
Good explanation
Good Brother
very good explanation brother , with phophoo example you make it more easy , one question if we have two or more provider class than what should the syntax and how we can use 2 provider classes in one screen !
just make two variable just on the top of scaffold, MyModel myModel= provider.of(context);
MySecondModel mySecondModel= provider.of(context);
Scaffold()
and same use like Text(myModel.counter.toString()),
Text(mySecondModel.counter.toString()),
repeat the same way make new file of provider, register it. and just like make an other object in view screen just like i created just above on Scaffold, you make another object for second provider
why you are not uploading more videos on flutter please make videos on animation and other core concepts of flutter because your way of understanding concepts is awesome and the main thing is it come into my mind and not go above to head 😄
@@WildleTrot waiting for 1k subscribers dear. Thanks for such kind words mean Alot to me
if you are using provider then why in second screen you are using again set state
Sir, why is it necessary to create getter and setter of "int _counter"?
when we use getter and setter. it help our variable to listen the value. we are not changing values now we are just listening the value . so This help Ui to update without page build. Moreover here we are doing abstraction if by chance some get the variable he can not change our variable value(security concerns).
real Gem
I think that Provider is used to manage state, but from your code, it seems that state is not being managed properly. It appears to be a confusing concept for beginners. It feels like a waste of time.😏
in screen two you are using setState in floating action button but its not necessary I think
bro i have a question i could be wrong. isnt the purpose of statemanagement also to only build specific widgets not all the widgets in screen, for performance reasons?
performance is just a summary of whole of list of benefits. I also help developer to complete project as soon as possible, more over less number of lines, less time complexity, less space complexity and much more
Create same kind of video for bloc too.
Why caption it in English and speak Indian? Dah
Phophoo 🤣
ab yaad rhy ga hamesha
@@coderedclan Exactly! I'm Also Teaching Flutter and loved the way you taught !!