On this talk we explore three different ways of getting access to dependencies in Flutter, and th...
On this talk we explore three different ways of getting access to dependencies in Flutter, and their tradeoffs.
First, we’ll take a look at global state as an easy way of getting the things we need. Then, we’ll talk about constructor dependency injection, what problems it solves, but also which new ones it introduces.
Finally, we will learn how to make use of InheritedWidget and how it can help as you scale up your apps. I’ll show a simple app as a example of how these techniques work in practice.