Flutter BLoC Library Tutorial – Simple BLoC Pattern Solution
Having a structured codebase can only help you with creating good, long-lasting apps. The problem is that proper architecture can come with a cost of writing a lot of boilerplate code, especially if you intend to write everything from scratch.
When it comes to the BLoC pattern for Flutter, in the previous tutorial you could see how to create BLoCs from scratch and I’d say it’s not something you want to be doing over and over again. It’s just too low level. Also, if you don’t know how to implement BLoCs from scratch, definitely check it out.
We need to move up the abstraction ladder so that we aren’t going to be dealing with Streams and Sinks directly. This can be done with a handy library about which you are going to learn in this tutorial.