Neoweb4u
Neoweb4u|You are most likely conversant in ValueNotifier and ChangeNotifier. However have you ever ever heard of StateNotifier? On this tutorial we go over a easy instance exhibiting …
supply

14
Oct
Neoweb4u
Neoweb4u|You are most likely conversant in ValueNotifier and ChangeNotifier. However have you ever ever heard of StateNotifier? On this tutorial we go over a easy instance exhibiting …
supply
Ankit Rathore
You guys are always talking about packages . Why you dont talk about the core ..
Hnin Nwe
Thanks.
This video series help me a lot.
El Grego
How implementes initsate in provider?
yaizudamashii
In summary
1. StateNotifierProvider provides both the provider and the state
2. When the state is modified, subscribers are notified
3. By using LocatorMixin you can use other providers inside an implementation of a StateNotifier
Sommie!
😭😭this is making me emotional I've finally understood basic state management.. I have one small noob doubt though, if I were to have a more complex state, how am I supposed to structure it, say a TodoList app, with multiple lists of Todos like urgent, not-urgent,
Am i supposed to use a single state class that will hold these two lists or just two changeNotifiers with two seperate lists? sorry if my question is silly..
Hercules Smith
Unmistakable South African accent! Awesome 🙂
Your videos are great, I hope you keep making them! Its awesome hearing such a familiar accent explain these concept 🙂
Have a great Friday, and a great weekend!
Darrin Smith
So you are using a single primitive (int here) to check the state on.
What about a class containing multiple fields? Could you have it so that any change within that class caused the notification to be fired without having to set this sort of thing up for each and every field?
Take for example a car class where we have make, model and color. Are we required to set up a StateNotifier for make, another for model, and yet a third for color? From the example it appears that is the case, but surely there is a work around right?
Oindril Dutta
How is this better than ChangeNotifier as you claim? 🤔