Using BLoC – From Architecture to Unit Testing and Dependency Injection – Sagar Suri

As with many other technologies and frameworks, Flutter has many options available for us to manage our state and developer our app. From the Scoped Model, Provider, the BLoC package or simple-vanilla BLoC with RxDart to the simple setState. It can be difficult to choose the correct approach for our project since every option has its own use and applications.
If you choose to use BLoC, you then start having some other questions, such as “How can I deal with dependency Injection?”, “How should I structure my project fodlers?” and “How should I approach Unit Testing?”. That is why Sagar Suri created a series of articles to help you getting started with BLoC by creating an App:

Leave a Comment