Most of you are probably aware of packages like get_it or even provider which are amazing tools for doing basic and manual dependency injection. When your app is small, filling in a all of the constructor parameters yourself may not seem to be such a daunting task. Once your app starts to grow though and, as a proper programmer, you want to keep it clean by creating smaller sensible classes, doing it all by hand becomes a nightmare.
In this tutorial, you’re going to learn how to utilize the power of code generation together with the kiwi package to configure your dependency injection container in no time.
#Flutter #app #mobile