Uploaded January 2020 | Updated November 2026, 3 hours ago
📗 Learn from the written tutorial & get the starter project 👇👇
resocoder.com/auto-route
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
Navigation and routing take just too much code and effort to implement. No matter if you implement a router yourself or you use a library like fluro or sailor, there's still a lot of boilerplate. All of this changes with the auto_route package which works elegantly by code generation. This way, you can reduce repetitive and error-prone code to a minimum while still having the ability to customize the routes to your heart's content.
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/auto-route
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
Navigation and routing take just too much code and effort to implement. No matter if you implement a router yourself or you use a library like fluro or sailor, there's still a lot of boilerplate. All of this changes with the auto_route package which works elegantly by code generation. This way, you can reduce repetitive and error-prone code to a minimum while still having the ability to customize the routes to your heart's content.
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 Firebase & DDD Course [3] – Auth Facade Interface
📗 Learn from the written tutorial 👇👇
https://resocoder.com/firebase-ddd-flutter-3
📧 Get Flutter news 📰 and resources:
👉 http://flutter.education
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
Validating data and making illegal states unrepresentable is our second nature after the previous part. But, you know, having these nice ValueObjects by themselves is quite pointless. Lets start taking steps toward implementing the application layer responsible for taking raw email and password Strings from the UI to the authentication backend.
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 [3] – Auth Facade Interface](https://i.ytimg.com/vi/jNF48xIfnq8/mqdefault.jpg)

![Flutter Firebase & DDD Course [19] - Notes Overview Page
📗 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 finished all but one layer of the notes feature and thats the presentation layer. Because of all the safety measures weve previously put in place, not a single invalid value will slip through and in the case of a failure which is out of our control, well let the user know what exactly went wrong.
Lets now focus on the Notes Overview page.
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 [19] - Notes Overview Page](https://i.ytimg.com/vi/jctYAADGJTM/mqdefault.jpg)


![Flutter TDD Clean Architecture Course [4] – Data Layer Overview & Models
📗 Learn from the written tutorial 👇👇
https://resocoder.com/flutter-tdd-clean-architecture-ep4
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
While the domain layer is the safe center of an app which is independent of other layers, the data layer is a place where the app meets with the harsh outside world of APIs and 3rd party libraries. It consists of low-level Data Sources, Repositories which are the single source of truth for the data, and finally Models.
You may have noticed that we always start working from the inner parts of the app and work our way to the outskirts. After all, we started with the completely independent domain and even there we first created the Entity. Now, well start with the Model and only then go ahead and implement the Repository and the low-level Data Sources.
Therefore, it makes sense to start at the center, since otherwise, wed have a hard time implementing the Use Cases, for example, if we didnt have any Entities which can be returned first.
All of this is possible only through the power of contracts, which in the case of Dart are implemented as abstract classes. Think about it, weve fully implemented the domain layer using TDD and yet, all that the Use Cases depend on is just an abstract NumberTriviaRepository class which weve mocked with fake implementation all along...
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 [4] – Data Layer Overview & Models](https://i.ytimg.com/vi/keaTZ9M_U1A/mqdefault.jpg)


![Flutter TDD Clean Architecture Course [2] – Entities & Use Cases
📗 Learn from the written tutorial 👇👇
https://resocoder.com/flutter-tdd-clean-architecture-ep2
👨💻 Do you write good code? Find out now!
https://resocoder.com/good-code-quiz
In the first part, you learned the core concepts of clean architecture as it pertains to Flutter. We also created a bunch of empty folders for the presentation, domain and data layers inside the Number Trivia App were building. Now its time to start filling those empty folders with code, using TDD, of course.
Whenever you are building an app with a UI, you should design the UI and UX first. Ive done this homework for you and the app was showcased in the previous part.
The actual coding process will happen from the inner, most stable layers of the architecture outwards. This means well first implement the domain layer starting with the Entity.
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 [2] – Entities & Use Cases](https://i.ytimg.com/vi/lPkWX8xFthE/mqdefault.jpg)
