Uploaded January 2019 | Updated December 2026, 3 hours ago
Dependency injection can really make your developer life easier. It allows your code to be tested properly and it automatically becomes more modular. Dependency injection also encourages you to apply the principle of separation of concerns. That's because you don't just create new class instances on the fly and therefore you're going to think twice before using an object inside a class.
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
Dependency injection can really make your developer life easier. It allows your code to be tested properly and it automatically becomes more modular. Dependency injection also encourages you to apply the principle of separation of concerns. That's because you don't just create new class instances on the fly and therefore you're going to think twice before using an object inside a class.
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

![Flutter Firebase & DDD Course [10] - Navigation Based on Auth State
📗 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
Build command: flutter pub run build_runner watch delete-conflicting-outputs
We can already find out if the user is signed in or not. Now we need to take him to the appropriate page upon launching the app. For this to work, were going to create a SplashPage and also an AuthBloc.
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 [10] - Navigation Based on Auth State](https://i.ytimg.com/vi/7qMADWW4gts/mqdefault.jpg)
![Flutter Firebase & DDD Course [32] - Security Rules & Finish!
📗 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
The whole Flutter app is already fully developed. The only problem is that the Firestore database is now open to any attacks since all of the data is public. Lets fix it by writing a couple of lines of security rules.
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 [32] - Security Rules & Finish!](https://i.ytimg.com/vi/86dqg6ryx_M/mqdefault.jpg)







