How is Flutter bloc used in practice? Check it out in this lecture! 🤗
Flutter bloc's From Basics to Applications 📌
Flutter offers a variety of state management libraries, including bloc, getx, provider, and riverpod, tailored to developer preferences. However, both domestic and international communities overwhelmingly recommend Bloc as the most suitable state management library for large-scale projects. This video explores why Bloc is suitable for large-scale projects, explains how to use it, and helps you implement it in your own projects.
This video is based on my own research and practical experience. In this lecture, you'll learn the basics of Flutter Bloc, its applications , and how to use it . Beyond simply understanding how to use it, you'll also learn how it differs from other state management tools like Getx. By comparing development without state management to using Getx, you'll gain insight into the unique characteristics of Bloc .
Why should I use bloc? 🧐
You can easily distinguish between the view area and the business area.
It is easy to test and allows for reuse.
Event tracking can be managed in an integrated manner.
Many developers can work on a single code base.
The Flutter state management library with the highest number of stars on Github.
What you'll learn 📚
1. Why should I learn blocks?
Let's take a quick look at 5 reasons why you should use bloc.
2. Understanding Streams
The basic structure of a bloc is a stream. Let's briefly understand what a stream is.
3. Flutter_bloc widget (top/bottom)
Let's take a look at the Flutter block widgets, dividing them into widgets that you absolutely must know about and widgets that are good to know about.
4. Bloc/Cubit as a basic example of addition
Let's explore Bloc/Cubit through examples of adding to the Bloc core. We'll compare its structure to getx and see how it differs.
5. Why is Bloc better than Cubit?
Bloc has features that cubit doesn't. Let's explore those.
6. Examining the Bloc_concurrency package
Learn about the default event control methods provided through the transformer options used in Bloc.
7. Create a user query
We will look at both the setState method, the Getx method, and the Cubit state management method through the user query API.
8. Inter-block communication method
Learn how to communicate between blocs without creating dependencies between them.
Expected Questions Q&A 💬
Q. Can even a Flutter beginner understand it?
If you are familiar with Dart syntax and Flutter widget creation, you can understand it if you look at it carefully and repeatedly.
Q. Are you using the latest version of Flutter?
It will be built and tested without any major issues with the 3.x version.
Q. Do you have any example source code?
For videos that require example source code, we have prepared the source code for downloading from GitHub.
Recommended for these people
Who is this course right for?
Anyone who can use one or more Flutter state management
Anyone who wants to learn about Flutter state management
Currently, I have paid for the book review app and listened to the bloc lecture first.
There weren't many lectures on Bloc among the status management packages,
so it was helpful to be able to listen to good lectures for free.
The slightly disappointing part is that I don't know if it's because you explained what you did on YouTube as a free lecture,
but the content you wanted to convey was good, but the lecture felt a little unorganized.
I felt like it took a lot of time to fix errors or fix things in the middle rather than convey the content,
so I felt like I couldn't focus on the bloc content.
Of course, doing this process together is helpful, but it felt like it deviated slightly from the purpose of the lecture.
Thank you for your good evaluation. I'm sorry that you felt that there were some shortcomings.
In the future, I will prepare more systematically and become a knowledge sharer.
Thank you ^^