Chapter 4 - InheritedNotifier and ChangeNotifier - Flutter State Management Course 💙
ฝัง
- เผยแพร่เมื่อ 10 ก.ย. 2024
- Part of Flutter State Management playlist: • Flutter State Manageme...
In this chapter we talk about ChangeNotifier and how you can wrap your state and value changes inside an instance of ChangeNotifier. Then to consume your changes you can use an InheritedNotifier that has a "notifier" which is your change notifier and a "child" which can be anything. We will also look at why it is important to use a Builder inside our InheritedNotifier to get hold of the inherited notifier itself.
🐦 Twitter: / vandadnp
🔵 LinkedIn: / vandadnp
🤝 Want to support my work? buymeacoffee.c...
Thank you Vandad. You are so inspiring.
I just wanted to take a moment to thank you for your Flutter State Management Course. I really enjoyed it and I learned a lot. Your explanations were clear and concise, and the examples were helpful. I especially appreciated the way you broke down the concepts into easy-to-understand steps.
Thank you again for making such a great resource!
I'm really glad to hear that
19:17 I was really struggling about understanding all of those notifiers, changenotifiers,inheritednotifiers,valuenotifiers, foo bar bazNotifiers and that laugh got me :D You are one of the best teachers I've seen you really understand us XDDDDD Love u < 3 thx you so much.
Videos of InheritedWidget and InheritedModel got me a bit confused because we had to use setState, which rebuilds the entire build function but this one feels more at home with State Management, Thanks Vadad for such amazing content.
Thank you for all your hard work creating these amazing tutorials.
Glad you like them!
STILL LOVE THESE TUTORIAL. STILL LEARNING DEEP INSIDE FLUTTER. ❤️
this one is much better because you started from the UI before targetting the problem, I wish you could keep this method, it makes following much easier (we will be on the same page because we know where we are heading ) , and again thank you so much for this content
I’ve explained this I believe in one of my videos but keeping the UI active at all times might make the videos much longer because we would have to work on a lot of bits and pieces at the same time which will make the experience quite jumpy and difficult to follow
Waiting for StateNotifier thanx
Good idea, will work on that
Thank you♥️
No problem 💙
Why SliderInheritedNotifier was not present when build function was calling or built ? 26:40
Thanks
No problem 💙
I wanted to watch those 4 videos before starting with riverpod, I understood nothing. I'm gonna watch them twice xD.
One generic InheritedNotifier is a one off the cleanest way to rebuild. But I wonder it doesn't need dispose Listenable values with like as Consumer example?
13:40
Nice video thanks. How do you get the error message to come up full line and in colour as you type? Looks handy
it's an extension in visual studio code called Error Lens
Thanks and thanks again for great video