Skip to content
Videos
Video

Injectable โ€“ Flutter & Dart Equivalent to Dagger

by Reso Coder youtube.com

28 min 37.7k views

๐Ÿ“— Written tutorial & starter project ๐Ÿ‘‡๐Ÿ‘‡ https://resocoder.com/injectable-flutter-di ๐Ÿ“ง Get Flutter news ๐Ÿ“ฐ and resources: ๐Ÿ‘‰ http://flutter.education ๐Ÿ‘จโ€๐Ÿ’ป Do you write good code? Find out now! https://resocoder.com/good-code-quiz Dependency injection is necessary if you're not coding spaghetti ๐Ÿ and you want to keep nice layers of separation in your Flutter app's codebase. The problem is that all of the libraries out there, such as get_it or kiwi, are just service locators with no support or limited support for automating the registration of dependencies. Dagger solves it elegantly for native Android and Angular is also known for its powerful dependency injection framework. Now, we Flutter developers can finally use something similar - the injectable package which is a code generator for get_it. Go to my website for more information, code examples, and articles: โ— https://resocoder.com Follow me on social media: โ— https://instagram.com/resocoder โ— https://www.facebook.com/resocoder โ— https://twitter.com/resocoder

Forum

Questions about this, or something to add?

Discuss on the forum

Report this ยท Wrote this? Claim it

Supported by