Flutter Bloc Pattern— Simple Cubits

Vijay R
vijaycreations
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).

--

--

vijaycreations
vijaycreations

Published in vijaycreations

A list of Flutter Tutorials and app templates

Vijay R
Vijay R

Written by Vijay R

Hai👋 I’m a flutter developer experienced in designing and developing stunning mobile apps. Reach out for freelance projects: calico.takeoff_01@icloud.com