flutter-tutorials icon indicating copy to clipboard operation
flutter-tutorials copied to clipboard

Direct Injection and GetX

Open warcayac opened this issue 4 years ago • 1 comments

Hi! a very good video. I like you deal some tools and give examples with pros and cons. I was reading this article "The Flutter GetX Ecosystem ~ Dependency Injection" at https://medium.com/flutter-community/the-flutter-getx-ecosystem-dependency-injection-8e763d0ec6b9 , it makes DI to seem so easy to use that that makes you wonder if it really is so. What are your thoughts about this article and GetX package?

warcayac avatar Jul 20 '21 16:07 warcayac

Hi @warcayac Thanks for watching :) I appreciate it.

My thoughts on GetX comes from some interactions with the author. He wanted to make app development easier, and that's exactly what I support, so I think it's good conceptually. I haven't used it because it makes everything dependent on the package everywhere. Your UI, ViewModels (or whatever it's called), services, etc all dependent on a single package.

Which I'm not very happy with. But keep in mind I've literally never used it so I have no valid input to it's usage.

FilledStacks avatar Jul 22 '21 07:07 FilledStacks