Flutter Community
Published in

Flutter Community

Flutter’s Dependency Injection?

Another more intuitive yet subtle approach to DI in Flutter

A quick search of the phrase, “Dependency Injection” in Flutter Community will give you a list of articles. All are very informative and offer libraries and ‘service locators’ to implement Dependency Injection. This article will offer an alternative to implementing code and or annotations to supply DI.

Now, I’m not picking on Marc Guilera in particular and his article, Dependency Injection In Flutter. It’s a good read. I only took issue with the two bullet points in his article now…

--

--

--

Articles and Stories from the Flutter Community

Recommended from Medium

Java Spring: Validations

rlstructures, Tutorial 2: Understanding the library

Should I automate everything ?

The BitDay wallpaper changer installer bash script 3000 ™️

How to assemble an offshore development team

How To: Avoid (More) Common Mistakes By Junior Develop

Audio compression vs. normalization and leveling

Cake v1.0.0 RC1 released

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Greg Perry

Greg Perry

Freelance Developer

More from Medium

Flutter | The Comming future

Communicate Between Flutter and Native Android and iOS Code Using Platform Channel

Person on laptop

Is Kotlin Better Than Flutter?