Flutter Provider and ChangeNotifier With Listener for State Management | Example

  Рет қаралды 13,137

dbestech

dbestech

2 жыл бұрын

We will learn how to use flutter provider and change notifier for state management and passing data. Previously we saw how to pass data using setState and callback. Flutter provider is important concept for Bloc and Cubit. It helps you to use Provider.of() to call method for changes and updating variable.
See about setState and Callback here
• Flutter setState() and...

Пікірлер: 26
@muhendisbey7608
@muhendisbey7608 Жыл бұрын
i watching from turkey, you are best. I am learning flutter with you.
@dbestech
@dbestech Жыл бұрын
Thank you
@huzaifazebmirza8755
@huzaifazebmirza8755 8 ай бұрын
Walikum Asalam Ya Akhi
@ramimaro4940
@ramimaro4940 2 жыл бұрын
As always you are the best :)
@dbestech
@dbestech 2 жыл бұрын
Thanks again!
@nathanielfrema
@nathanielfrema 2 жыл бұрын
Hello sir please can you make complete tutorial with project with provider like the way you did for getx in flutter. Please. Thank you
@dbestech
@dbestech 2 жыл бұрын
Sure I will.
@funnynews341
@funnynews341 2 жыл бұрын
so Provider with Getx which is better for real production?
@dbestech
@dbestech 2 жыл бұрын
Hi, I like both. I have used both for production. Getx is easy to start with and help you build app faster. It's also very efficient. Saves time and money. With BLoc or Other state management pacakges, you can see the underline code. They helps you to really understand how flutter and dart work. They help you to understand the Flutter framework better. Getx is easy and fast and productive. And others let you see the flutter framework more. That's why I love both.
@parameshmamidisetti8167
@parameshmamidisetti8167 2 жыл бұрын
Great answer
@YoUCeF-kh9mn
@YoUCeF-kh9mn 2 жыл бұрын
Hi teacher Thank u so much
@dbestech
@dbestech 2 жыл бұрын
You are very welcome
@hasan-gp2ne
@hasan-gp2ne 2 жыл бұрын
Selamin aleküm Bruder what is the difference between provider and stremprovider thanks.
@praiseodeyemi3629
@praiseodeyemi3629 Жыл бұрын
Stream provide comes with way better features. Came across it while watching some videos on Riverpod for state management.
@praiseodeyemi3629
@praiseodeyemi3629 Жыл бұрын
*StreamProvider
@iyasuo
@iyasuo 2 жыл бұрын
Thank you bro
@dbestech
@dbestech 2 жыл бұрын
You are welcome. Have you learned something? Ya Suo
@ahmedali-vq7yu
@ahmedali-vq7yu Жыл бұрын
How I can solve problem black Screan in flutter when use provider
@dbestech
@dbestech Жыл бұрын
Not sure what you are talking about
@althafaralijaffarali1803
@althafaralijaffarali1803 2 жыл бұрын
And for multiple provider use multiprovider: MultiProvider( providers:[ Provider(create: (_) => Something()), Provider(create: (_) => SomethingElse()), Provider(create: (_) => AnotherThing()), ], child: someWidget, )
@dbestech
@dbestech 2 жыл бұрын
Thank you althafar Ali. Yes, we could do that as well for a bit complex app.
@althafaralijaffarali1803
@althafaralijaffarali1803 2 жыл бұрын
@@dbestech Bro thank you as well for your contribution ✨
@dbestech
@dbestech 2 жыл бұрын
@@althafaralijaffarali1803 You are welcome
@user-ut7ll6fn9x
@user-ut7ll6fn9x 2 жыл бұрын
hi
@dbestech
@dbestech 2 жыл бұрын
Hi korean friend, thanks for watching.
@haroonahmad4483
@haroonahmad4483 Жыл бұрын
its very confusing topic
Change Notifier Provider Explained
14:32
Learn App Code
Рет қаралды 20 М.
你们会选择哪一辆呢#short #angel #clown
00:20
Super Beauty team
Рет қаралды 8 МЛН
OMG😳 #tiktok #shorts #potapova_blog
00:58
Potapova_blog
Рет қаралды 4,3 МЛН
Heartwarming: Stranger Saves Puppy from Hot Car #shorts
00:22
Fabiosa Best Lifehacks
Рет қаралды 18 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Flutter Provider 5 changeNotifier Example | State Management
10:15
Learn Flutter with Me
Рет қаралды 23 М.
Provider State management - ChangeNotifier + Flutter
18:28
Flutter Explained
Рет қаралды 27 М.
Flutter Provider EASY Tutorial
9:43
Flutter Mapp
Рет қаралды 43 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 88 М.
#Google Flutter - MVVM in Flutter using Providers.
34:34
Mobile Programmer
Рет қаралды 56 М.
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,6 МЛН
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,5 МЛН
iPhone 16 с инновационным аккумулятором
0:45
ÉЖИ АКСЁНОВ
Рет қаралды 3,5 МЛН
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 5 МЛН