Best state-management for Flutter HANDS-DOWN. Have scoured tons of videos that make everything more complex than it should be. Thank you for the no BS, straight to the point video mate.
Thank you so much for doing this video! I searched tons of videos before, but they added an unnecessary complexity in the explanation. Your video was short, concise and very clear! Thank you again for your work!
By far the best tutorial for Flutter Provider, very useful and great way of organizing the sequence of information, rather than setting things up first the boring way, you made it as dynamic and as fluid as possible which allowed for the best learning experience, thanks a lot.
I've watched about 20 different videos on different state management tools and this one made sense instantly!! Thank you sir. You have earned a subscriber note: i had to add "heroTag: null" on all FABs to avoid a terrible migraine 😪
Someone told me riverpod is better, but from this video i feel provider much better for my brain wires :) Thanks and can you make more coplex usages video.
Great video and well explained. I've one question tho, can we use this provider state without using context.read and context.write, seems like we have to register all of our state modules in multiProvider at first is there any other way then this ?
For people Studying from this date beyond and getting the 'Hero tag' exception and not working when going to the second page: add heroTag: 'someName', for each button just after the Key or before.
getters and setters are optional, however they are good practice for writing clean, scalable code. Check out this link: stackoverflow.com/questions/56997961/are-getter-and-setter-needed-in-dart-programming
Hi thanks for the great content please make more videos about provider i have a little question : in the second page we have a floating action button that is responsible for reading the data from count class "and" adding the data to the list .. isnt it a kinf of rebuild fpr the widget ?? or am i mistaken ? i have read the documentation for the read method and inside it i have encountered something called "select" ... in your perspective wouldnt be better to use select here ? ... i appreciate your advice in advance
@@BenjaminCarlson second screen.dart is the page and im refering to the on press callback of the floating action button ....which you have provided this line of code : contex.watch.addItem('bread'); wouldnt be better if we use select here ?
i have never understood Providers the way i do now, a huge thank here, so does the counter preserves the value? i mean will it work like a SharedPreferences method that preserves values(i mean you don't need to save the data because providers do it)?
Hay man.. its a great video but can you plese remove the background music??? we are learning new things and watching a lots of video or blog to understand how the code work and none of us i think on the mode to hear that type of music... its kind of anyoning ...
Hey guys, I tried a different style for todays video. Let me know if you like it!
A new audience here. Not sure about the previous style, but this video fits me pretty well! Thanks for sharing the video!
very informative video; thank you
This video helped me a lot. Not because of provider tutorial but because of adding multiple providers in an app.
I'm still stuck in adding Multiple providers...... Getting error
Pretty simple, no trivia and I like the way you explain it to others. The best guide about provider package in Flutter.
The first non indian person how perfectly explain fast and great (it's just a joke) thanks, you won a suscriber!
Best state-management for Flutter HANDS-DOWN. Have scoured tons of videos that make everything more complex than it should be. Thank you for the no BS, straight to the point video mate.
glad you enjoyed!
Straight-forward and to the point! Great :)
Thanks! 🙂
Thank you so much for doing this video! I searched tons of videos before, but they added an unnecessary complexity in the explanation. Your video was short, concise and very clear! Thank you again for your work!
By far the best tutorial for Flutter Provider, very useful and great way of organizing the sequence of information, rather than setting things up first the boring way, you made it as dynamic and as fluid as possible which allowed for the best learning experience, thanks a lot.
I seen many videos but I understand easily as biginner by watching your video thank you so much...
I've watched about 20 different videos on different state management tools and this one made sense instantly!! Thank you sir. You have earned a subscriber
note: i had to add "heroTag: null" on all FABs to avoid a terrible migraine 😪
Straight to the point, without any additional blabla... Thanks mate❤
thank you man I have been struggling for months to understand what is state management and how providers works 👍
Thankx, Explained well
thanks!
This should be the BEST video in Flutter State Management. Thank you for your time.
wow this is perfect for complete beginners to provider
4K 60 quality my man respect
thanks so much bro, ur tutorial was the best and to the point, idk y others were making like 30 min videos on it...u saved me, thanks again!
Really clear and concise tutorial!
Best simple lesson about provider!
That's what I was looking for .... thanks for the video!
thanks for your video and source code I've been stuck in this problem for 4-5 hours, but you can solved it for me. Thank you very much
honestly very helpful
Pretty good teaching!
This is the best explanation out there.
Thank you for this. This is a great video indeed
Outstandingly good and clear. Thanks very much.
Glad you enjoyed it!
that was simple and straight to the point explanation. thank you
Great video and thank you
thanks man that was a good explanation
Awesome tutorial
Well explained, Thank you!
Nice one really helped.
Thanks a lot man :)
Someone told me riverpod is better, but from this video i feel provider much better for my brain wires :) Thanks and can you make more coplex usages video.
Straight to point and concise. thanks!
Thanks for watching!
Very great video, thanks
Thank you for the explanation!
Glad it was helpful!
Cool. I love flutter
I was looking for that, what a great content, thanks mate
really liked the video, thanks for the tutorial
thanks bro it was very clear and easy
Thanks, this was reeeally helpful
Glad to hear!
thank you so much, your explaination is easy to understand
Thank you so much!
Really helpful
不错啊,very good!
Thank you Ben, great tutorial 👍🏼
excellent video. Thank you.
Great tutorial🥰
Awesome. What about when you navigate from a screen to another and you want to reset the state on dispose for example
Thanks
Shouldn’t you remove the Text() from parent widget (5:28) when you made separate Count widget ???
That background music at 1.5x playback...wow!
so good
I used very nice
Great video and well explained. I've one question tho, can we use this provider state without using context.read and context.write, seems like we have to register all of our state modules in multiProvider at first is there any other way then this ?
For people Studying from this date beyond and getting the 'Hero tag' exception and not working when going to the second page: add heroTag: 'someName', for each button just after the Key or before.
thanks
thank u
how to share data between multiple providers? For example, i have userid in loginprovider and i want to read it from profileprovider. How to do that?
with the latest version of flutter 2.10.2, you will need to set the heroTag property when you have more than one floatingActionButton per route.
Hey, a beginner here. Is the getter that you use to access _count needed? Cant we just use count itself?
getters and setters are optional, however they are good practice for writing clean, scalable code. Check out this link: stackoverflow.com/questions/56997961/are-getter-and-setter-needed-in-dart-programming
@@BenjaminCarlson thanks
when i update value from second screen , value not updated in first screen ! how to update for all screens ?
What if you had three counters, how do you update each one separately?
your stateless widget rebuild again and agin when you click on-pressed just add print statement in build context and check
Hi thanks for the great content please make more videos about provider i have a little question : in the second page we have a floating action button that is responsible for reading the data from count class "and" adding the data to the list .. isnt it a kinf of rebuild fpr the widget ?? or am i mistaken ? i have read the documentation for the read method and inside it i have encountered something called "select" ... in your perspective wouldnt be better to use select here ? ... i appreciate your advice in advance
could you tell me what line and what file name you are referring to?
@@BenjaminCarlson i will let you know as soon as possible ...
@@BenjaminCarlson second screen.dart is the page and im refering to the on press callback of the floating action button ....which you have provided this line of code : contex.watch.addItem('bread'); wouldnt be better if we use select here ?
i have never understood Providers the way i do now, a huge thank here, so does the counter preserves the value? i mean will it work like a SharedPreferences method that preserves values(i mean you don't need to save the data because providers do it)?
you will have to save the data too. Provider just helps you a bit
how to use in Navigation page route ?
What’s the difference between .read and .watch
Hay man.. its a great video but can you plese remove the background music??? we are learning new things and watching a lots of video or blog to understand how the code work and none of us i think on the mode to hear that type of music... its kind of anyoning ...
what material icon extension did you use ?
I am using VSCode icons marketplace.visualstudio.com/items?itemName=vscode-icons-team.vscode-icons
How to call initstate if we are using stateless widget in this architecture?
there is no init state method in a stateless widget
con someone explain me the use of getter. why we used get to store the value of _count again to count?
_count is private variable which can't be accessed directly outside the class, so we need to use getter
why music :(
5:04
Very loud music and not matching with tutorial bro
It doesn't seem loud on my computer, are you using headphones? Maybe thats why
Nah it's not loud
Provider.of
usual example, nothing new
well explained :)
thanks
Thanks
Thanks