Flutter Design Patterns: 7 — Facade

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

Mangirdas Kazlauskas
Flutter Community

--

In the last article, I analysed one of the behavioural design patterns — State. This time, I would like to represent a pattern that you have probably already used as a developer, but just did not realise that it is a design pattern at all. Therefore, let me introduce you to Facade.

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 Facade design pattern?
  • Analysis
  • Implementation
  • Other articles in this series
  • Your contribution

What is the Facade design pattern?

Dealing with Complexity (source)

The Facade belongs to the category of structural design patterns. Its intention in the GoF book is described as:

Provide a unified interface to a set of…

--

--

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