Flutter Provider - State Management using PROVIDER ( A BLoC Alternative)

preview_player
Показать описание
#flutter #provider #googleio

Hey! In this tutorial i will be teaching you the very basics of implementing "Provider" for State management in your Flutter Applications. It is far less complex than the conventional BLoC Pattern and is much more efficient!

Flutter Getting Started | Flutter Provider Package | Flutter Firebase State Management | Flutter Provider Modal | Flutter State Management | Flutter Advanced State Management | Flutter Data Management | Flutter Interact

If you like this tutorial please hit LIKE and SUBSCRIBE to my channel for more upcoming tutorials!

Instagram:
Рекомендации по теме
Комментарии
Автор


builder:<=this builder has been deprecated in newer version
//for latest versions go with this one
create: (context) =>DownloadFile(),
child: instaInterface(),

),

hammadulaziz
Автор

I am a complete newbie with Flutter, been reading about state management and for the life of me I could not get it...until I saw your video...thank you very very much for this...

jliendostuardo
Автор

Finally, there is a state management pattern that someone can concentrate on and this officially supported by Flutter team, can you concentrate on Flutter's file architecture, and have a video for getting data from the RESTful API services. A complete example from Login screens to multiple pages for routing and preserving state in different screens.

webghost
Автор

BIG THANKS @RetroPortalStudio
Before watching this video I was kind of tensed and irritated with this utter confusing state management stuff.
It literally had wasted my 2 days.
I have become your fan. Hope you have more on flutter. I'd explore your channel regularly now on.

ruchirrai
Автор

Awesome tutorial about Providers! Quite nice to manage states! Thank you so much! Keep it up!

milodude
Автор

A great video explaining the very basics of the Provider Pattern. I was confused which to choose from Bloc and Provider, now I have my answer. Superb <3

AbdulRahmanShamair
Автор

Great introduction to Provider. Read a lotabout it but this is concise and clear. One thing, I had to replace "builder" with "create" in:
return ChangeNotifierProvider(
create: (context) => WeatherInfo(),
child: Scaffold( ...

dgrippo
Автор

Thank you!, this is really helpful! This world needs more people like you man!

fernando_her
Автор

Awesome video !! We need more videos on PROVIDER! Like the architecture and other useful functions!

garrrrrrrry
Автор

So to wrap it up. The provider will contain data. If there's a change of data, you may want to notify other widgets through notifyListener. This widgets that are listening to changes are called Consumers. This is the way I understood the video. I hope I'm correct. If yes, then it is probably the best video about provider state management in youtube.

jerome_ee
Автор

Perfect example and a good explanation, keep rocking!

aravindc
Автор

Nicely explained the concept man much appreciated!

rohan._.
Автор

Thanks dude!! I 've finally understood provider, cheers

Grovermol
Автор

that photoshop way of describing is very nice idea, thank you!

volodymyrrepetskyi
Автор

Than you very much! Even I'm Brazilian guy, this video could help me a lot! I hope you can explain much more of flutter's pattern in the next videos.

guilhermesantana
Автор

You explained this so nicely, thanks dude, appreciate it.

wesleybarnes
Автор

Thanks for this Video. I have a specific use case. For instance, we have many widgets ( text and textfield) in the screen and all quantities are textfield widgets.Reaming are text. I can say the headings are id, description, quantity, price. All data's are getting from REST API.
let us say we have 5 rows. These are from API


id, description, Quantity, Price

(1, testingFirst, 0, 2.32)
(2, test, 0, 10.3)
(3, PC, 0, 12.000)
(second
(50, cups, 0, 12.3)
(60, testingLast, 0, 12.3)
Total: sum of all




when I change quantity, I need to update corresponding rows price and also last row. Which means if I enter 25 in first rows quantity, the last rows quantity also will be 25 and at the same time the price will be changed based on quantity. Why I need to update last row, since first and last row is related and others are not related. If no relation, no need to update .


When I enter a quantity, I need to check is there any rows in second section related with first row. If related update those rows.

aniltc
Автор

Thank you for this great video ..
Reactive programming tutorials are what we need

j.almadhaji
Автор

At last a fantastic explanation on actual use of state management rather than showing pics of streams and rivers moving boats. Question - i am starting app thats “simple” but foresee could get more “complicated” features, can provider handle it or start now with bloc. Dont want to rewrite the codes later. Which state management is recommended by google?

mohamednizam
Автор

Again nice video od my type and need this a lot

Sanjay
welcome to shbcf.ru