Get_It package - Dependency Injection with Service Locator Pattern in Flutter & Dart

preview_player
Показать описание
You want to glue together your different layers in your application, then this package is for you. The Get_It package brings an easy to use Service Locator directly into your application. The Service Locator will make it super easy to connect your app and your different layers together.

#GetIt #Flutter #Dart

You like our work and would like to support us, feel free to join us on Patreon.

State Management with Get_it?

** Social Medias **

Say hi to Max

Say hi to Mahtab
Рекомендации по теме
Комментарии
Автор

Even after 3years, i still find this video helpful

emmanuelolajubu
Автор

After searching the internet and reading medium articles to little satisfaction, this did justice to everything. Thank you very much. Subscribed!!

michaelokhaimoh
Автор

Thanks, this is a great explanation. I struggled to understand this until I found your video. Thanks so much!

ManontheOutside
Автор

I have commented probably 4 to 5 times on YouTube. And this is the 6 times. I just wanted to say thanks for the well-structured teaching approach! Awesome teacher. I'd like the to-do style used to walk me through the video and the justification of each step. Amazing flow!

juliusherbert
Автор

Finally!!! I was now able to understand how to use it and what is it, thanks :)

makemypetgamedevprocess
Автор

I was too lazy to read the documentation 😂.. thanks you were there🥰

googleuser
Автор

Dependency Injection Pattern left the chat

ionolaru
Автор

good example for how to use get_it in real project, thanks

ahmedadnan
Автор

Thanks for the video Max, Could you do one please using GetIt in tests? Cheers from Sauerland

EnriqueLeyvaJose
Автор

you make it super easy. and that is not fair🤣

yonathanhailemelekot
Автор

hi there, how to unregister singleton using injectable ?

kopianan
Автор

Thanks for the tutorial. I do have a question. This approach kind of goes against dependancy injection pattern, doesn't it? Having a global object that exposes all its members to anything is the opposite of DI, right? Isn't it bad?

isurujn
Автор

I really like the idea of a service locator, especially that it is flutter independent as I understand. In other words, I don't need to pass something around the widgets like with provider. I would be interested, if this works well with the bloc pattern. instead of flutter_bloc, which uses provider under the hood for DI, couldn't I use get_it? Would be great if you could share your thoughts on that. Thks for the great video!

christianmarpert
Автор

Excellent video! I do have a question though, if you can help. I was hoping get_It would be a state management solution that automatically updates the UI when changes are made like provider with notifylisteners, without the context from a widget being required. You've made it clear it's not. Are there any state management packages that can do the same thing provider can do, but without the context? Thanks in advance

tawandagutsa
Автор

Can you make an video for getit with provider ?

jai
Автор

What are the use cases of this when i can normally use the normal dependency injection in Provider for example? any singleton class would do that then where is the advantage?

ziyadmansy
Автор

Hi.. Would like to know the config you used with your vscode? Theme, font.. thanks

hamourabimr
Автор

I have a question pls guide, how GetIt handles garbage collector as it registeres so many object before hand does it mean all those objects will remain in memory till app lifecycle ? or Objects will be wiped off by garbage collector if yes then when pls guide

jutt
Автор

I have a quesion why did we not use a memeDomainCOntroler when we could directly call the meme repo as thats what is happening.

rudranshawasthi
Автор

Great class. I would like to see now an integration with provider for state management. Could i use 'with changeNotifier' in MemeRepo class? Thanks

caballeroRS