File tree Expand file tree Collapse file tree 1 file changed +7
-14
lines changed
patterns/abstract_factory/conceptual_gui_factory Expand file tree Collapse file tree 1 file changed +7
-14
lines changed Original file line number Diff line number Diff line change 1- # Memento pattern
2- Memento is a behavioral design pattern that lets you save and restore the previous state of an
3- object without revealing the details of its implementation .
1+ # Abstract Factory pattern
2+ Abstract Factory is a creational design pattern that lets you produce families of related objects
3+ without specifying their concrete classes .
44
5- Tutorial: [ here] ( https://refactoring.guru/design-patterns/memento ) .
5+ Tutorial: [ here] ( https://refactoring.guru/design-patterns/abstract-factory ) .
66
7- ### Online demo:
8- Click on the picture to see the [ demo] ( https://RefactoringGuru.github.io/design-patterns-dart/#/memento/flutter_memento_editor ) .
9-
10- [ ![ image] ( https://user-images.githubusercontent.com/8049534/165401175-88bc4593-4624-45b4-8c03-6f1390ed771a.png )] ( https://refactoringguru.github.io/design-patterns-dart/#/memento/flutter_memento_editor )
11-
12- ### Dependency Patterns
13- This complex example includes these implementations:
14- - [[ AppObserver] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/observer/app_observer )]
15- - [[ SubscriberWidget] ( https://github.com/RefactoringGuru/design-patterns-dart/tree/main/patterns/observer/subscriber_flutter_widget )]
7+ ### About example.
8+ This the very conceptual example rewrite from original source code [ java example] ( https://github.com/RefactoringGuru/design-patterns-java/tree/main/src/refactoring_guru/abstract_factory/example )
169
1710### Diagram:
18- ![ image] ( https://user-images.githubusercontent.com/8049534/165758516-1de543f5-666d-4e07-958d-2d8fceb73af9 .png )
11+ ![ image] ( https://user-images.githubusercontent.com/8049534/165987890-e64db9a3-4865-411c-a5c0-16da21043159 .png )
1912
2013### Client code:
2114``` dart
You can’t perform that action at this time.
0 commit comments