Flutter Bloc Pattern— Simple Cubits
Published in
4 min readFeb 15, 2022
In this article we will discuss about how to make use of flutter bloc and manage the states in our counter app.
📺 Video Tutorial
🛠️ Dependencies
🔬 Implementation
We will be making use of Flutter Bloc pattern (cubits) to create a simple counter app in flutter.
- What are Cubits?
Cubits are nothing but a minimal version of Bloc itself. They are light weight and easy to implement state management technique.
In our application we will be having two events, one is increment counter and another is decrement counter (these two events are the inputs of bloc).