In this post, we will introduce the concept of dependency injection and learn to setup dependency injection in Flutter with inherited widget.