Uploaded January 2019 | Updated November 2026, 2 hours ago
📗 Get the code from this tutorial 👇👇
resocoder.com/flutter-bloc-library
👨💻 Do you write good code? Find out now 👇
resocoder.com/good-code-quiz
Flutter BLoC Library: pub.dartlang.org/packages/flutter_bloc
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.
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● instagram.com/resocoder
● facebook.com/resocoder
● twitter.com/resocoder
● gab.ai/resocoder
Book icon designed by Becris (flaticon.com/authors/becris), licensed by creativecommons.org/licenses/by/3.0
📗 Get the code from this tutorial 👇👇
resocoder.com/flutter-bloc-library
👨💻 Do you write good code? Find out now 👇
resocoder.com/good-code-quiz
Flutter BLoC Library: pub.dartlang.org/packages/flutter_bloc
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.
Go to my website for more information, code examples and articles:
● resocoder.com
Follow me on social media:
● instagram.com/resocoder
● facebook.com/resocoder
● twitter.com/resocoder
● gab.ai/resocoder
Book icon designed by Becris (flaticon.com/authors/becris), licensed by creativecommons.org/licenses/by/3.0



![Flutter TDD Clean Architecture Course [3] – Domain Layer Refactoring
📗 Learn from the written tutorial 👇👇
https://resocoder.com/flutter-tdd-clean-architecture-ep3
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
The Number Trivia App is moving along nicely. In the previous part, we created an Entity, Repository contract, and the first Use Case - GetConcreteNumberTrivia using test-driven development. Today, were going to add another Use Case which will uncover a nice opportunity for refactoring the code.
Go to my website for more information, code examples, and articles:
● https://resocoder.com
Follow me on social media:
● https://instagram.com/resocoder
● https://www.facebook.com/resocoder
● https://twitter.com/resocoder Flutter TDD Clean Architecture Course [3] – Domain Layer Refactoring](https://i.ytimg.com/vi/Mmq72a0h4jk/mqdefault.jpg)






![Flutter Firebase & DDD Course [18] - Note Form Bloc
📗 Get the code 👇👇
https://github.com/ResoCoder/flutter-ddd-firebase-course
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Theres only one thing left before creating the UI for displaying, creating and updating notes. We need to finish the application layer by creating a NoteFormBloc.
Go to my website for more information, code examples, and articles:
● https://resocoder.com
Follow me on social media:
● https://instagram.com/resocoder
● https://www.facebook.com/resocoder
● https://twitter.com/resocoder Flutter Firebase & DDD Course [18] - Note Form Bloc](https://i.ytimg.com/vi/QjPuAHttTIo/mqdefault.jpg)