A very simple application focusing on the use of BLoC and Cubits

0 0

BLoC App

This is a very simple application focusing on the use of BLoC and Cubits. From now on, I will definitely create applications only with its use, because it is a great solution! First, I will describe this application briefly, what I used, and at the end there will be a short video.

Brief description of the application

It is a simple counter where the user can add 1 or subtract 1 from the current value of the counter. In addition, the application checks the user’s internet connection.
In this case, only Cubits were used as there was no need to create a BLoC for this. I got to know many classes like BlocProvider, BlocListener, BlocBuilder .. but also context.watch, context.select etc. I also used HydratedBloc. Overall, the architecture is very cool, I definitely recommend learning it, because it makes your work much easier and is very clear when it comes to code.

Video

BLoC.App.mp4

GitHub

View Github

Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%

Deja una respuesta

Entrada anterior A Flutter Task App with Parse (Back4app) as the backend demonstrating CRUD operations
Entrada siguiente Chat app with Login / Registration