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.

👉Get the code from this tutorial👈

 

Icons made by Becris from www.flaticon.com is licensed by CC 3.0 BY

About the author 

Matt Rešetár

Matt is an app developer with a knack for teaching others. Working as a Flutter freelancer and most importantly developer educator, he doesn't have a lot of free time 😅 Yet he still manages to squeeze in tough workouts 💪 and guitar 🎸

You may also like

Flutter Bloc & Cubit Tutorial

Flutter Custom & Staggered Page Transition Animation Tutorial

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>