This is the second episode of Design Patterns Series in Flutter, designed for beginners. In this episode, we are going to understand what Abstract Factory Pattern is. We will go through an overly complicated definition, understand it using analogy, continue with the flutter example from first episode and then understand when and why to use this design pattern along with the disadvantages it brings.
Discord Server: discord.gg/Q8Rx8YWFVF
📌 Code - github.com/RivaanRanawat/flutter-design-patterns/t…
Timestamps:
(00:00) Introduction
(00:06) Definition (Abstract Factory)
(00:27) Analogy (Abstract Factory)
(00:56) Flutter Example Approach 1 (Abstract Factory)
(09:29) Flutter Example Approach 2 (Abstract Factory)
(10:01) Abstract Factory vs Factory Method
(10:23) Advantages of Abstract Factory
(11:46) Disadvantages of Abstract Factory
(12:00) Abstract Factory Relation with Other Design Patterns
Resources:
refactoring.guru/design-patterns/abstract-factory
📕 Design Patterns Book - www.amazon.in/Design-Patterns-Object-Oriented-Addi…
Connect With Me Here:
Instagram: instagram.com/optimalcoding
GitHub: github.com/rivaanranawat
Linkedin: www.linkedin.com/in/rivaan-ranawat
Facebook: www.facebook.com/rivaan.ranawat/
Mail: namanrivaan@gmail.com
Medium: namanrivaan.medium.com/
Twitter: twitter.com/RanawatRivaan
コメント