Рет қаралды 14,009
📄Dependency Injection (DI) is a design pattern used to implement Inversion of Control. It allows the creation of dependent objects outside of a class and provides those objects to a class through different ways. Using DI, we move the creation and binding of the dependent objects outside of the class that depends on them. This brings a higher level of flexibility, decoupling, and easier testing.
🌐 Telegram Community
🔗 t.me/flutterguysgp
📁Source Code
🔗 github.com/Fabrice-Fabio/depe...
🌐 Social Media
🔗 Linkedin:
/ fabrice-sumsa-9b1133151
/ mahdinazmi
🔗 GitHub:
github.com/Fabrice-Fabio
github.com/mahdinazmi
⏳ TIMESTAMPS :
00:00 Intro
00:22 Join Telegram Community
00:40 Why DI With GetIt?
01:04 Without DI
02:04 Ways To Registering Instances
02:49 Register Singleton
05:36 Register Lazy Singleton
06:33 Register Factory
#flutter #fluttertutorial #fluttercourse #flutterwidgets