Better Programming

Advice for programmers.

Follow publication

Member-only story

Simplifying Bloc State Management in Flutter

Dhananjay Trivedi
Better Programming
Published in
7 min readApr 1, 2020

If you’ve been developing Flutter apps, you know it’s crucial to manage the state of your application in the best possible way.

Flutter provides us with many state-management options, like Provider, Bloc, Redux, and MobX.

Today, we’ll look at Bloc.

I understand it can be a little harder to understand — it was for me as well. But now I think I get it, so I’m here to simplify it for you.

We know that in Flutter it's very easy to mix up your UI logic with your business logic, which isn’t really the best way to develop maintainable apps.

Bloc comes to the rescue by giving a better structure to your app — by separating out the UI and the business logic of your application. But before we get into how to implement it, let’s first understand …

The article’s going to be a little long, but you, as a beginner, will walk away with the confidence of how to use Bloc by the end.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

Dhananjay Trivedi
Dhananjay Trivedi

Written by Dhananjay Trivedi

Android | Flutter | App Developer | Product Management | Prompt Engineer who loves writing and sharing knowledge

Write a response