Uploaded November 2019 | Updated November 2026, 19 minutes ago
📗 Learn from the written tutorial & get the starter project 👇👇
resocoder.com/bloc-test-library-tutorial
🎯 The biggest Flutter conference in Europe:
https://fluttereurope.dev
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
Blocs are meant to hold logic and, as proper programmers, we should probably write some tests to verify whether or not the logic is correct. If you follow test-driven development, writing tests is even more crucial. There's one problem though - testing Blocs requires a lot of boilerplate.
The bloc_test package sets out to solve this issue by providing abstractions even for testing! No more dealing with classic Streams.
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
📗 Learn from the written tutorial & get the starter project 👇👇
resocoder.com/bloc-test-library-tutorial
🎯 The biggest Flutter conference in Europe:
https://fluttereurope.dev
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
Blocs are meant to hold logic and, as proper programmers, we should probably write some tests to verify whether or not the logic is correct. If you follow test-driven development, writing tests is even more crucial. There's one problem though - testing Blocs requires a lot of boilerplate.
The bloc_test package sets out to solve this issue by providing abstractions even for testing! No more dealing with classic Streams.
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




![Flutter TDD Clean Architecture Course [10] – Bloc Scaffolding & Input Conversion
📗 Learn from the written tutorial 👇👇
https://resocoder.com/flutter-tdd-clean-architecture-ep10
Presentation layer contains the UI in the form of Widgets and also the presentation logic holders, which can be implemented as a ChangeNotifier, Bloc, Reducer, ViewModel, MobX Store... You name it! In the case of our Number Trivia App though, were going to use the flutter_bloc package to help us with implementing the BLoC pattern.
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
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 [10] – Bloc Scaffolding & Input Conversion](https://i.ytimg.com/vi/Ulk9qUErIa4/mqdefault.jpg)



![Flutter Firebase & DDD Course [12] - Note Value Objects
📗 Get the code 👇👇
https://github.com/ResoCoder/flutter-ddd-firebase-course
🎯 The biggest Flutter conference in Europe:
https://fluttereurope.dev
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
From the previous part, we know which business rules occur in the notes feature of the app and weve already created the failures used to let the user know when such rules are not being followed. How can we enforce these rules though? Well, with validation and value objects.
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 [12] - Note Value Objects](https://i.ytimg.com/vi/VwqPxlp7QmI/mqdefault.jpg)

![Flutter Firebase & DDD Course [21] - Note Cards UI
📗 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
Weve populated the real Firestore database with a note but were still showing only colorful placeholders in place of the note cards. Lets build an actual UI for them.
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 [21] - Note Cards UI](https://i.ytimg.com/vi/WcagE5oOOpk/mqdefault.jpg)