A Closer Look at the Provider Package – Martin Rybak

After the Google I/O presentation about State Management in which the provider package was the main focus, many began to research it and use it on their projects. The concept behind the it is simple: we want to provide something to our app, be it a BLoC, models, Futures or Streams. However, we can easily get lost while looking at the many classes it composes, such as ChangeNotifierProvider, Provider and MultiProvider.
That is why Martin Rybak’s article takes a deep-dive into this package to show us how to use each class and when to use it, so that we can not only use it as a means for Dependency Injection but also as an alternative for state management.

Leave a Comment