Тёмный
No video :(

Flutter State Management - Routes and Provider 

Johan Jurrius
Подписаться 10 тыс.
Просмотров 10 тыс.
50% 1

In this video we look at how to use the provider package with routes in our app.
Watch the whole playlist for my Flutter course here: • Flutter Course .
You can find my Dart playlist here:
• Dart Basics and a bit ...

Опубликовано:

 

9 июн 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 22   
@abhishekverma614
@abhishekverma614 2 года назад
Awesome, one of the best resource available on youTube regarding providers in flutter, thanks!!!
@JS19190
@JS19190 2 года назад
I was struggling with using Provider in combination with Router, but thanks to your video I was able to solve my problems. Thank you very much for this video, your effort has been greatly appreciated! 🙂
@usmanmsd1034
@usmanmsd1034 3 года назад
I really love the way you organize a tutorial and its metadata. love the way you teach.
@sasha2209
@sasha2209 2 года назад
Thank you so much!!!!! i was struggling so much for learning provider. but with your videos i have better understanding of provider! thanks!
@7259-y5i
@7259-y5i 2 месяца назад
Good evening, I followed with great interest your playlist on flutter which I find very instructive for someone who wants to excel on mobile application development with flutter. This while, if your time allows, can you make videos on the BLoC package and also flutter firebase. Thanks again for everything.
@ertantokerconsulting3905
@ertantokerconsulting3905 3 года назад
Really good explanation. Thank you!
@xpwahab1
@xpwahab1 3 года назад
Clear explanations as always 🙌
@zahrayousefi9400
@zahrayousefi9400 2 года назад
I feel so lucky that I found you. thanks so much You helped me a lot
@DiyaLalDileepLal
@DiyaLalDileepLal Год назад
I can't thank you enough to make me understand the concepts of routes and providers. Can you make a video on Supabase with flutter?
@usmanmsd1034
@usmanmsd1034 3 года назад
Well i Have not watched the next video but I want to ask one question about the appBarColor of Settings. I want it to change all appbar colors.
@JohanJurrius
@JohanJurrius 3 года назад
You can then just wrap all appBars in Selector or Consumer to listen for the same value.
@distributedchaos5129
@distributedchaos5129 2 года назад
Regarding Error in the import ' ' statements after copying "lib" folder: It seems if the import statement are written in "relative format" using "./" or "../" helps in maintaining the relationships between the files even if it's parent folder name is changed. For example: import '../routes/routes.dart'; rather than import 'package:routes_and_provider_video/routes/routes.dart'; Thanks Sir for the best tutorials on Dart and Flutter.
@distributedchaos5129
@distributedchaos5129 2 года назад
Also, if you need to add latest dependencies to the project, in the terminal inside the app's folder, running 'flutter pub add provider, http, google_fonts' automatically fetches and adds latest libraries in the .yaml file.
@fvagvTV
@fvagvTV 2 года назад
Your videos are very helpful! I have a simple question - is it a good practice to put your provider in the main page wrapper when you need the state in two different routes?
@JohanJurrius
@JohanJurrius 2 года назад
I would place it above the main MaterialApp that contains your Routes.
@jimaustin3608
@jimaustin3608 2 года назад
Stackoverflow: Flutter ChangeNotifierProvider builder is deprecated “Since provider version 3.2.0 "builder" is marked as deprecated in favor of ‘create’.” (17:40) I assume it’s the same for MultiProvider … what am I missing here?
@JohanJurrius
@JohanJurrius 2 года назад
Hi Jim. I am using the newest version of Provider, currently 6.0.1, and I don't get any deprecated warnings. 3.2.0 was released back in Nov 2019. Maybe it was added again in newer versions. I have no problems, also none with MultiProvider. Currently it seems you must have both create and builder OR create and child.
@jimaustin3608
@jimaustin3608 2 года назад
Johan, Interesting … from the Provider Changelog: - 3.2.0 says ‘Deprecated "builder" of providers in favor to "create"’ - 4.1.0 says “Added builder on the different providers.” … and shows the syntax you do. Guess these guys ‘put their pants on one leg at a time’ just like us. 🙄
@usmanmsd1034
@usmanmsd1034 3 года назад
I have tried to change it from the ThemeData()..... but thats building the setting again....
@usmanmsd1034
@usmanmsd1034 3 года назад
You were saying that you would make tutorials on keys. I am still waiting for the keys topic.
@JohanJurrius
@JohanJurrius 3 года назад
I am looking at MBAAS right now. Will definitely update the course and add keys in the future.
@usmanmsd1034
@usmanmsd1034 3 года назад
@@JohanJurrius okay.
Далее
Flutter Navigation - Routes in Flutter
44:53
Просмотров 10 тыс.
13 Карт - Мафия | 5 серия
08:51
Просмотров 274 тыс.
Dart Async - Futures in Dart
32:22
Просмотров 4,2 тыс.
Flutter Basics - Stateless and Stateful Widgets
32:16
7 Common Flutter Providers Explained
18:57
Просмотров 19 тыс.
Top 30 Flutter Tips and Tricks
6:50
Просмотров 547 тыс.
Flutter State Management with Provider 5
43:08
Просмотров 25 тыс.