Комментарии:
Hi, I'm trying to understand how/when/why to use "injectable" package with get_it package for DI. Injectable is supposedly useful for boilerplate and other useful features like modules. I would ask that you could make an example application with just get_it, and then transform that same application into another "simplified" one with the help of the "injectable" package, in such a way that one could see how useful said package could be, or under what circumstances it is. I currently find it difficult to understand its use, and the current tutorials found on the Web do not provide much help. "injectable" has a notation called "module" that seems useful in a "features" approach but without comparing how it would be presented with just "get_it" you don't fully understand the mechanism behind it.
ОтветитьIsn't this similar to provider?
ОтветитьThank you 🌹. I have a question. Is it possible to register a service with input argument? If yes how we can pass argument to service class inside the app programmatically?
ОтветитьHow about prrovider, can provider use decency injection
ОтветитьGreat explaination, I had a question though it might be dumb.. can't we achieve the same effect by using a provider? And call the function using:
context.read<AppService>().method
?
❤❤❤
Ответитьeasy to understand thank you I hope you to show video using injectable plz
ОтветитьGreat video! Thanks for the informative content, sir.
One question! If the app is using Riverpod, would you consider using `get-it` as dependency injection?
nice
ОтветитьGreat video Arkadash :)
ОтветитьWow, understood DI from just a 7 minute video!
ОтветитьGreat video as usual 💜
Please make videos on state management in real & complex projects.
Thanks
Thanks for this video it will be great if you add injectable support as well
Ответить