Flutter Design Patterns: 11 — Abstract Factory

An overview of the Abstract Factory design pattern and its implementation in Dart and Flutter

Mangirdas Kazlauskas
Flutter Community

--

In the last article, I analysed the Factory Method design pattern. This time I would like to analyse and implement an OOP design pattern, which has a similar purpose, even a similar name, but is more flexible and suits the structure of big projects better than the Factory Method design pattern — it is the Abstract Factory.

Update 2022–09–15: I moved this blog to my personal website. For a better reading experience, up to date articles, interactive code examples and some extra content FOR FREE, check kazlauskas.dev.

Table of Contents

  • What is the Abstract Factory design pattern?
  • Analysis
  • Implementation
  • Other articles in this series
  • Your contribution

What is the Abstract Factory design pattern?

Santa’s factory (source)

Abstract Factory is a creational design pattern, also known as Kit. Its intention in…

--

--

Mangirdas Kazlauskas
Flutter Community

Google Developer Expert for Flutter & Dart | Read the blog for free on kazlauskas.dev | Let's stay in touch - https://twitter.com/mkobuolys