@@ -4,31 +4,31 @@ It contains **Dart** examples for all classic **GoF** design patterns.
44
55# Implementation checklist:
66- [ ] ** Creation**
7- - [ ] [ ** Abstract Factory** ] ( https://refactoring.guru/design-patterns/abstract-factory )
8- - [x] [ ** Builder** ] ( https://refactoring.guru/design-patterns/builder ) - [[ Color Text Format] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/builder/color_text_format )]
9- - [ ] [ ** Factory Method** ] ( https://refactoring.guru/design-patterns/factory-method )
10- - [x] [ ** Prototype** ] ( https://refactoring.guru/design-patterns/prototype ) - [[ Shapes] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/prototype/shapes )]
11- - [ ] [ ** Singleton** ] ( https://refactoring.guru/design-patterns/singleton )
7+ - [ ] ** Abstract Factory**
8+ - [x] ** Builder** - [[ Color Text Format] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/builder/color_text_format )]
9+ - [ ] ** Factory Method**
10+ - [x] ** Prototype** ] - [[ Shapes] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/prototype/shapes )]
11+ - [ ] ** Singleton**
1212- [ ] ** Behavioral**
13- - [x] [ ** Chain of Responsibility** ] ( https://refactoring.guru/design-patterns/chain-of-esponsibility ) - [[ Server Middleware] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/chain_of_responsibility/server_middleware )]
14- - [x] [ ** Command** ] ( https://refactoring.guru/design-patterns/command ) - [[ Text Editor] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/command/text_editor )]
13+ - [x] ** Chain of Responsibility** - [[ Server Middleware] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/chain_of_responsibility/server_middleware )]
14+ - [x] ** Command** - [[ Text Editor] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/command/text_editor )]
1515 - [ ] Interpreter
16- - [ ] [ ** Iterator** ] ( https://refactoring.guru/design-patterns/iterator )
17- - [ ] [ ** Mediator** ] ( https://refactoring.guru/design-patterns/mediator )
18- - [x] [ ** Memento** ] ( https://refactoring.guru/design-patterns/memento ) - [[ Conceptual] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/memento/conceptual )]
19- - [x] [ ** Observer** ] ( https://refactoring.guru/design-patterns/observer ) - [[ Open-Close Editor Events] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/open_close_editor_events )] [[ AppObserver] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/app_observer )] [[ Subscriber Flutter Widget] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/subscriber_flutter_widget )]
20- - [ ] [ ** State** ] ( https://refactoring.guru/design-patterns/state )
21- - [ ] [ ** Template Method** ] ( https://refactoring.guru/design-patterns/template-method )
22- - [ ] [ ** Visitor** ] ( https://refactoring.guru/design-patterns/visitor )
23- - [ ] [ ** Strategy** ] ( https://refactoring.guru/design-patterns/strategy )
16+ - [ ] ** Iterator**
17+ - [ ] ** Mediator**
18+ - [x] ** Memento** - [[ Conceptual] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/memento/conceptual )]
19+ - [x] ** Observer** - [[ Open-Close Editor Events] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/open_close_editor_events )] [[ AppObserver] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/app_observer )] [[ Subscriber Flutter Widget] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/observer/subscriber_flutter_widget )]
20+ - [ ] ** State**
21+ - [ ] ** Template Method**
22+ - [ ] ** Visitor**
23+ - [ ] ** Strategy**
2424- [ ] ** Structural**
25- - [x] [ ** Adapter** ] ( https://refactoring.guru/design-patterns/adapter ) - [[ Text Graphics] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/text_graphics )] [[ Square Round conflict] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/square_round_conflict )] [[ Flutter Adapter] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/flutter_adapter )]
26- - [x] [ ** Bridge** ] ( https://refactoring.guru/design-patterns/bridge ) - [[ Remote Device Control] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/bridge/devices_remote_control )] [[ Clock] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/bridge/clock )]
27- - [x] [ ** Composite** ] ( https://refactoring.guru/design-patterns/composite ) - [[ Image Editor] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/composite/image_editor )] [[ Products and Boxes] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/composite/products_and_boxes )]
28- - [x] [ ** Decorator** ] ( https://refactoring.guru/design-patterns/decorator ) - [[ Data Source Decoder] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/decorator/data_source_decoder )]
29- - [ ] [ ** Facade** ] ( https://refactoring.guru/design-patterns/facade )
30- - [ ] [ ** Flyweight** ] ( https://refactoring.guru/design-patterns/flyweight )
31- - [ ] [ ** Proxy** ] ( https://refactoring.guru/design-patterns/proxy )
25+ - [x] ** Adapter** - [[ Text Graphics] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/text_graphics )] [[ Square Round conflict] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/square_round_conflict )] [[ Flutter Adapter] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/adapter/flutter_adapter )]
26+ - [x] ** Bridge** - [[ Remote Device Control] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/bridge/devices_remote_control )] [[ Clock] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/bridge/clock )]
27+ - [x] ** Composite** - [[ Image Editor] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/composite/image_editor )] [[ Products and Boxes] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/composite/products_and_boxes )]
28+ - [x] ** Decorator** - [[ Data Source Decoder] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/master/patterns/decorator/data_source_decoder )]
29+ - [ ] ** Facade**
30+ - [ ] ** Flyweight**
31+ - [ ] ** Proxy**
3232
3333## Requirements
3434
@@ -69,7 +69,7 @@ flutter build web -t bin\main.dart --web-renderer html
6969```
7070
7171### Deploy flutter demos
72- 1 . Fork this repo: https://github.com/RefactoringGuru/design-patterns-dart
72+ 1 . Fork this repo: ` https://github.com/RefactoringGuru/design-patterns-dart `
73732 . Apply your changes.
74743 . Run the script ` dart bin\deploy_flutter_demos.dart ` .
7575This script will build a web platform flutter app and push the changes to your ** web-demos** branch on github.
0 commit comments