💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatAppMasterclass 📱 Flutter Masterclass • mitchkoko.app/ 🔥 I'm coding a startup.. www.patreon.com/mitchkoko Apps I've made using Provider: 🥑 Grocery Shop App • kzbin.info/www/bejne/q4TPm3qAfLifbNk 📱 Coffee Shop • kzbin.info/www/bejne/iIHZmaKdnb2ha5Y 👟 Sneaker Shop • kzbin.info/www/bejne/i5TapKiQhZVqZ7s I hope this helps you ✌🏾💜
@kashaf8863 Жыл бұрын
plz make video on API using provider (get ,post ,push metods)
@abasilis Жыл бұрын
@@kashaf8863 Count me in! 😀
@ThePilli41 Жыл бұрын
This may as well be THE best explanation video on privider I have seen. Straight and simple. I cant wait for the further implementation in the sushi app! Keep it coming!
@createdbykoko Жыл бұрын
thank you haha sushi app coming up💜
@philosophia5577 Жыл бұрын
Much awaited State Management series from Koko. You have helped me improve my UI skills to a great level and its great to see you getting more into logic and backend.. Hope to see a lot more videos on State Management and best coding practices, architectures, etc.
@arvidd Жыл бұрын
Bro carrying flutter tutorials on KZbin right now ... Keep up the good work! 👍
@thomasthemaker Жыл бұрын
Simple & straightforward, great job Koko!
@gofullstack Жыл бұрын
In my case, I won't call the "CounterModel" class "CounterModel" because it isn't a model. This is where you do the business logic, data fetching, and other interactions with external resources like APIs or databases. If you know what a data class is then that's a model, models define the structure of your app's data like "Order", "User" and more but a class that provides data and handles the business logic for your Widget(s) should be called a "Service Provider", I mean "CounterService" while you could have a "CounterModel" if your counter is more than just an "int". You made the 👍 best, wish I saw this while I was learning instead of reading the entire documentation 🤣🤣
@thegreatkizo Жыл бұрын
Thank you for this, I was writing flutter relying on setState a lot but now that I am working on bigger projects, I want to move on to using either provider or bloc. Thank you again.
@indianapapi Жыл бұрын
Thank you for making this. I'm new to flutter and your videos are a big help!
@createdbykoko Жыл бұрын
My pleasure :) how is it going so far?
@joaopaulolima961210 ай бұрын
Another question, in this case for improving performance instead of wrapping all the scaffold, we also could’ve wrapped only the text Widget right? Knowing that the text() is also a widget and itself has a build function to be called by notifyListeners(). Also with this modification i think we could get rid of the statefull widget and use stateless
@createdbykoko10 ай бұрын
you are correct!
@chovbee3 ай бұрын
Really great tutorial! I’m learning flutter to build my first app and this was a really simple but clear explanation of Provider and how to use it. Thanks for your hard work!
@createdbykoko3 ай бұрын
@@chovbee no problem :) good luck!
@someshsahu463811 ай бұрын
nice video thank you so much 🙏🏼🙏🏼🙏🏼
@flutterIgnite10 ай бұрын
Koko did it again. Much appreciated tutorial
@aka-Monster01 Жыл бұрын
thank u very much for explaining it in simple way with the default project i spent my one entire day scrolling youtube to learn this concept but still confused what the heck they did coz i can't do it along as there project is different doing it side by side and manipulating really helps me to grasp it
@rafaelrojas90283 ай бұрын
Great video mate! State management is a nightmare for me. Do you have any video about riverpod or bloc?
@createdbykoko3 ай бұрын
Just made one for BLoC for Beginners 📱 State Management • Flutter Tutorial kzbin.info/www/bejne/qHeZlqRnpNeoY7s
@ehis165811 ай бұрын
Hi Mitch thank you for this. Please I didn't understand what you did from 4:33, you explained that we can access all the methods through the "value", like when you did value.count.toString(), I didn't understand final counter = context.read... could we have done value.increment. please could you explain?
@Dipj016 ай бұрын
When you're inside the builder, you CAN just do value.method() with no problem. However, if you're outside the builder and don't have access to the 'value' argument, you can still access it's methods by context.read().method(); This especially useful when you want to just execute some method of the model class but don't want to know it's value (in that case wrapping it in Consumer() will unnecessarily redraw it which is wasteful), so you use this instead.
@ebuzersariyerlioglu3520 Жыл бұрын
Thanks for this useful video. Please make Twitter sign in😊
@Sanjaysview4 ай бұрын
Nice and concise explanation
@createdbykoko4 ай бұрын
Glad it was helpful!
@haseebkahn4811 Жыл бұрын
Great tutorial! I have a question, why did you continue to use the MyHomePage as a stateful widget? Couldn't we use a stateless widget now that we have the provided sat up.
@theseeker202106 ай бұрын
From what I've gathered, the homepage needs to be a stateful widget so as to update when it receives the change notification .
@SEGVeenstra Жыл бұрын
For the onPressed, I think you could just put the value.increment tear-off in there, right? onPressed: value.increment,
@VigilantKwao5 ай бұрын
Naa, you would get an error, tried it
@vitalyuchter9 ай бұрын
Great vid! explained it really simple But in most apps there are multiple states, how do you wrap it all in your widget? What about the main(), do you add the same changeNotifier to every single provider?
@e_velog Жыл бұрын
Your explanation is really good - Provider has been confusing me quite a bit - but I can't wait to see your video covering the application of Provider in the sushi app. I feel like I understand the basics, but am really struggling with applying Provider in a complex app and examples I found on the internet aren't really good at explaining it either...
@chrisking8216 ай бұрын
can you please do a river pod v2, reading and updating a variable and thus state.
@monkeyDluffy-io3oo21 күн бұрын
thanks I understand really well
@muadzrosli Жыл бұрын
How to consume more than one model in a page or in a widget?
@rusbeh5351 Жыл бұрын
is there any way to wrap the Scaffold widget instead of ctrl + x?
@metehanmete1210 Жыл бұрын
i love you brother. Your tutorials are easy to understand. thnx
@SmartMedia1017 күн бұрын
Would you make a video about Riverpod ?
@aaomms7986 Жыл бұрын
You video are really quality thank man. Love u
@heberthdeza10 ай бұрын
Thanks Mitch Koko, it is simple and easy to understand. Regards.
@aka-Monster01 Жыл бұрын
i have a question do we really need consumer to make it work like we can do the same thing with getter and setter can u explain a bit why this not that approach
@scalarcoding Жыл бұрын
What's the point of using state management over statefulwidget?
@yapyh2872 Жыл бұрын
Can you do one for Riverpod too?
@BOYGG-be8tb8 ай бұрын
thanks Koko,Do it have any other common uses now?
@suldanka Жыл бұрын
Thanks How to use if am using multiple classmodels and material route page?
@ettitaiwo16425 ай бұрын
Hi Please do a video on riverpod ❤❤
@AppyBuilder9 ай бұрын
Bravo. Please have a short video on multi-provider. THX
@epichazmat Жыл бұрын
2:44 Why do we need to create the getter? Code works same way without it.
@waliazhar946010 ай бұрын
you need it when you getting the value of counter
@programadormelhor5 ай бұрын
Excellent channel, thanks. Can you say what tool you use for to do the channel animation, like in this video?
@KAIZENTECHNOLOGIES Жыл бұрын
Greet video mitch! Could you make a neumorphic nav bar tutorial. That design trend must not die!
@farrukhjaved82589 ай бұрын
class ChangeProvider extends ChangeNotifier { int abc = 10; void updated() { abc++; notifyListeners(); } } why we have used the getter and setter method where we can achieve our target without them?
@gyanupadhyay9473 Жыл бұрын
bro plz make some course on bloc u make very short which is of no use
@gofullstack Жыл бұрын
I don't know why I never tried to learn Bloc at all, maybe because I think the provider does all the magic so well but I'd love to see a video from Mitch Koko
@PAKGOV Жыл бұрын
❤ for making state managed app with provider
@MohammadAlbazel Жыл бұрын
Could you please apply the stacked package?
@BottropBoy Жыл бұрын
Finally! Thanks, bro!
@ibrahimruben00 Жыл бұрын
Thank you so much!!! We really needed this video :)
@rishabhmukadams-2910 Жыл бұрын
Thank you so much for this tutorial ❤
@tsk8349 Жыл бұрын
Can I do state management by using hive db
@poisonels8023 Жыл бұрын
Video on flutter common erros
@ettitaiwo1642 Жыл бұрын
Can you make a video on multiple providers
@aka-Monster01 Жыл бұрын
hey can u make a video on streams too
@mohamedadan8552 Жыл бұрын
Is it possible to use provider with getx in same app as state management
@ismailhossain964 Жыл бұрын
Can you show state management for flutter web? I tried provider, everytime i reload provider go missing.
@Ai_News728 Жыл бұрын
brother backend full video please
@papa_ethan5 ай бұрын
Do you need other state management library if you have Flutter Provider? No, right?
@createdbykoko5 ай бұрын
@@papa_ethan provider will do the job ❤️
@arslanrasit Жыл бұрын
FINALLY thank you
@pushpendra10001 Жыл бұрын
thanks for making this video i just comment last time about this topic and you make video thanks bro
@mustafaadel9703 Жыл бұрын
Can you explain bloc please?
@ghosttalon Жыл бұрын
can you make video Bloc ?
@robschannel11564 ай бұрын
then what if i have multiple models?
@createdbykoko4 ай бұрын
that's fine and normal! You can use MultiProvider in the main. You can see it here: kzbin.info/www/bejne/p2nQkJmJjtarZtksi=B0g830e5ZxFrVHXQ&t=4566
@Hariharan-wy4kv Жыл бұрын
Bro I need riverpod provider concepts
@ilya_3991 Жыл бұрын
The provider itself is NOT a state manager. Instead the author here leverages ChangeNotifier’s functionality for the sake of state management needs. Isn’t this clear? Even Remi Rousselet - the author of Provider said his tool is not a state manager. Provider just provides objects down the widget tree.