Provider 📱 Simple State Management • Flutter Tutorial

  Рет қаралды 60,744

Mitch Koko

Mitch Koko

Жыл бұрын

💬 Chat App w/ Notifications • mitchkoko.gumroad.com/l/ChatA...
📱 Flutter Courses • mitchkoko.app/
👨🏽‍💻 I'm coding a startup.. / mitchkoko
/ createdbykoko
/ createdbykoko
/ createdbykoko
💰 Book Consultation Call • mitchkoko.gumroad.com/l/CallW...

Пікірлер: 80
@createdbykoko
@createdbykoko 11 ай бұрын
💬 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
@kashaf8863 11 ай бұрын
plz make video on API using provider (get ,post ,push metods)
@abasilis
@abasilis 11 ай бұрын
@@kashaf8863 Count me in! 😀
@arvidd
@arvidd 11 ай бұрын
Bro carrying flutter tutorials on KZbin right now ... Keep up the good work! 👍
@ThePilli41
@ThePilli41 11 ай бұрын
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
@createdbykoko 11 ай бұрын
thank you haha sushi app coming up💜
@philosophia5577
@philosophia5577 11 ай бұрын
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.
@thomasthemaker
@thomasthemaker 9 ай бұрын
Simple & straightforward, great job Koko!
@gofullstack
@gofullstack 11 ай бұрын
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 🤣🤣
@kingsleyzuze9949
@kingsleyzuze9949 11 ай бұрын
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
@indianapapi 8 ай бұрын
Thank you for making this. I'm new to flutter and your videos are a big help!
@createdbykoko
@createdbykoko 8 ай бұрын
My pleasure :) how is it going so far?
@ibrahimruben00
@ibrahimruben00 11 ай бұрын
Thank you so much!!! We really needed this video :)
@flutterIgnite
@flutterIgnite 5 ай бұрын
Koko did it again. Much appreciated tutorial
@rishabhmukadams-2910
@rishabhmukadams-2910 11 ай бұрын
Thank you so much for this tutorial ❤
@BottropBoy
@BottropBoy 11 ай бұрын
Finally! Thanks, bro!
@aaomms7986
@aaomms7986 9 ай бұрын
You video are really quality thank man. Love u
@valkiprasannakumar2387
@valkiprasannakumar2387 11 ай бұрын
Some people have great brain,i don't know why I am not able code like them ,god gifted people 😭
@batcracka
@batcracka 11 ай бұрын
keep working ! find out what works for you and stay positive you’ll get there
@mixfruiet
@mixfruiet 11 ай бұрын
Practice matter
@camilocharry
@camilocharry 11 ай бұрын
Is practice and practice bro, don't give up
@GameTubegames
@GameTubegames 11 ай бұрын
Once upon a time i don’t even understand what is variable but now Alhamdulillah i learned a lot. Just learn everyday and don’t lose hope that's it
@mayankbhaisora2699
@mayankbhaisora2699 9 ай бұрын
it’s all about practice. Start practising and you will understand that most of those people are not god gifted but became this good just because they have worked hard and continuously and given priorities to programming in their life.
@metehanmete1210
@metehanmete1210 11 ай бұрын
i love you brother. Your tutorials are easy to understand. thnx
@heberthdeza
@heberthdeza 5 ай бұрын
Thanks Mitch Koko, it is simple and easy to understand. Regards.
@pushpendra10001
@pushpendra10001 11 ай бұрын
thanks for making this video i just comment last time about this topic and you make video thanks bro
@someshsahu4638
@someshsahu4638 6 ай бұрын
nice video thank you so much 🙏🏼🙏🏼🙏🏼
@e_velog
@e_velog 11 ай бұрын
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...
@ebuzersariyerlioglu3520
@ebuzersariyerlioglu3520 11 ай бұрын
Thanks for this useful video. Please make Twitter sign in😊
@PAKGOV
@PAKGOV 11 ай бұрын
❤ for making state managed app with provider
@arslanrasit
@arslanrasit 11 ай бұрын
FINALLY thank you
@aka-Monster01
@aka-Monster01 9 ай бұрын
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
@mansurbek046
@mansurbek046 7 ай бұрын
Thanks a lot, Finally I understood what is the provider😅
@KAIZENTECHNOLOGIES
@KAIZENTECHNOLOGIES 11 ай бұрын
Greet video mitch! Could you make a neumorphic nav bar tutorial. That design trend must not die!
@AppyBuilder
@AppyBuilder 4 ай бұрын
Bravo. Please have a short video on multi-provider. THX
@romixraoera1358
@romixraoera1358 11 ай бұрын
thanks
@ilya_3991
@ilya_3991 11 ай бұрын
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.
@vitalyuchter
@vitalyuchter 4 ай бұрын
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?
@programadormelhor
@programadormelhor 16 күн бұрын
Excellent channel, thanks. Can you say what tool you use for to do the channel animation, like in this video?
@suldanka
@suldanka 11 ай бұрын
Thanks How to use if am using multiple classmodels and material route page?
@rusbeh5351
@rusbeh5351 10 ай бұрын
is there any way to wrap the Scaffold widget instead of ctrl + x?
@yapyh2872
@yapyh2872 11 ай бұрын
Can you do one for Riverpod too?
@ettitaiwo1642
@ettitaiwo1642 Ай бұрын
Hi Please do a video on riverpod ❤❤
@muadzrosli
@muadzrosli 11 ай бұрын
How to consume more than one model in a page or in a widget?
@chrisking821
@chrisking821 2 ай бұрын
can you please do a river pod v2, reading and updating a variable and thus state.
@gyanupadhyay9473
@gyanupadhyay9473 11 ай бұрын
bro plz make some course on bloc u make very short which is of no use
@gofullstack
@gofullstack 11 ай бұрын
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
@BOYGG-be8tb
@BOYGG-be8tb 3 ай бұрын
thanks Koko,Do it have any other common uses now?
@SEGVeenstra
@SEGVeenstra 11 ай бұрын
For the onPressed, I think you could just put the value.increment tear-off in there, right? onPressed: value.increment,
@VigilantKwao
@VigilantKwao 12 күн бұрын
Naa, you would get an error, tried it
@joaopaulolima9612
@joaopaulolima9612 5 ай бұрын
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
@createdbykoko
@createdbykoko 5 ай бұрын
you are correct!
@farrukhjaved8258
@farrukhjaved8258 5 ай бұрын
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?
@ettitaiwo1642
@ettitaiwo1642 11 ай бұрын
Can you make a video on multiple providers
@tsk8349
@tsk8349 11 ай бұрын
Can I do state management by using hive db
@mohamedadan8552
@mohamedadan8552 11 ай бұрын
Is it possible to use provider with getx in same app as state management
@MohammadAlbazel
@MohammadAlbazel 10 ай бұрын
Could you please apply the stacked package?
@mohammedalhinawy8238
@mohammedalhinawy8238 11 ай бұрын
💜
@aka-Monster01
@aka-Monster01 9 ай бұрын
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
@poisonels8023
@poisonels8023 10 ай бұрын
Video on flutter common erros
@aka-Monster01
@aka-Monster01 9 ай бұрын
hey can u make a video on streams too
@ismailhossain964
@ismailhossain964 10 ай бұрын
Can you show state management for flutter web? I tried provider, everytime i reload provider go missing.
@haseebkahn4811
@haseebkahn4811 10 ай бұрын
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.
@theseeker20210
@theseeker20210 Ай бұрын
From what I've gathered, the homepage needs to be a stateful widget so as to update when it receives the change notification .
@scalarcoding
@scalarcoding 10 ай бұрын
What's the point of using state management over statefulwidget?
@ehis1658
@ehis1658 6 ай бұрын
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?
@Dipj01
@Dipj01 Ай бұрын
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.
@ghosttalon
@ghosttalon 11 ай бұрын
can you make video Bloc ?
@Hariharan-wy4kv
@Hariharan-wy4kv 11 ай бұрын
Bro I need riverpod provider concepts
@Ai_News728
@Ai_News728 11 ай бұрын
brother backend full video please
@mustafaadel9703
@mustafaadel9703 11 ай бұрын
Can you explain bloc please?
@papa_ethan
@papa_ethan 7 күн бұрын
Do you need other state management library if you have Flutter Provider? No, right?
@createdbykoko
@createdbykoko 7 күн бұрын
@@papa_ethan provider will do the job ❤️
@epichazmat
@epichazmat 10 ай бұрын
2:44 Why do we need to create the getter? Code works same way without it.
@waliazhar9460
@waliazhar9460 5 ай бұрын
you need it when you getting the value of counter
@colinhehn
@colinhehn 11 ай бұрын
The splice samples go too hard
🖥📱RESPONSIVE DESIGN • Flutter Tutorial
8:03
Mitch Koko
Рет қаралды 276 М.
Inside Out 2: Who is the strongest? Joy vs Envy vs Anger #shorts #animation
00:22
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 19 МЛН
Как бесплатно замутить iphone 15 pro max
00:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 8 МЛН
📱 TO DO App • Flutter Tutorial ♥ Hive Local Storage
42:35
Mitch Koko
Рет қаралды 150 М.
Flutter Provider EASY Tutorial
9:43
Flutter Mapp
Рет қаралды 46 М.
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 239 М.
LIGHT ☀️🌘 DARK mode • Flutter Tutorial📱
8:09
Mitch Koko
Рет қаралды 42 М.
Change Notifier Provider Explained
14:32
Learn App Code
Рет қаралды 20 М.
Riverpod or Bloc? Which One is Better?
3:44
Flutter Guys
Рет қаралды 40 М.
Best State Management for Flutter | Flutter State Management
8:18
AI with Flutter
Рет қаралды 8 М.
Flutter Provider Simply Explained
9:08
Learn App Code
Рет қаралды 88 М.
iPhone 15 Pro в реальной жизни
24:07
HUDAKOV
Рет қаралды 484 М.
НОВЫЕ ФЕЙК iPHONE 🤯 #iphone
0:37
ALSER kz
Рет қаралды 361 М.
Лучший браузер!
0:27
Honey Montana
Рет қаралды 1 МЛН