FilledStacks / flutter-tutorials

The repo contains the source code for all the tutorials on the FilledStacks Youtube channel.
MIT License
4.75k stars 1.76k forks source link

Direct Injection and GetX #135

Open warcayac opened 3 years ago

warcayac commented 3 years ago

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?

FilledStacks commented 3 years ago

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.