Skip to content

Commit 61e2fbd

Browse files
committed
Update broken links
1 parent 73110e2 commit 61e2fbd

File tree

3 files changed

+25
-25
lines changed

3 files changed

+25
-25
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ An open-source [OOP design patterns](https://en.wikipedia.org/wiki/Design_Patter
66

77
https://flutterdesignpatterns.com/
88

9-
This application is an implementation part of the "Flutter Design Patterns" [article series](https://kazlauskas.dev/flutter-design-patterns-0-introduction).
9+
This application is an implementation part of the "Flutter Design Patterns" [article series](https://kazlauskas.dev/blog/flutter-design-patterns-0-introduction).
1010

1111
<p float="left">
1212
<img src="./images/home.png" alt="Home Page" width="250">

assets/data/design_patterns.json

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@
88
"id": "abstract-factory",
99
"title": "Abstract Factory",
1010
"description": "Provide an interface for creating families of related or dependent objects without specifying their concrete classes.",
11-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-11-abstract-factory"
11+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-11-abstract-factory"
1212
},
1313
{
1414
"id": "builder",
1515
"title": "Builder",
1616
"description": "Separate the construction of a complex object from its representation so that the same construction process can create different representations.",
17-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-18-builder"
17+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-18-builder"
1818
},
1919
{
2020
"id": "factory-method",
2121
"title": "Factory Method",
2222
"description": "Define an interface for creating an object, but let subclasses decide which class to instantiate. Factory Method lets a class defer instantiation to sub­classes.",
23-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-10-factory-method"
23+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-10-factory-method"
2424
},
2525
{
2626
"id": "prototype",
2727
"title": "Prototype",
2828
"description": "Specify the kinds of objects to create using a prototypical instance, and create new objects by copying this prototype.",
29-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-14-prototype"
29+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-14-prototype"
3030
},
3131
{
3232
"id": "singleton",
3333
"title": "Singleton",
3434
"description": "Ensure a class only has one instance, and provide a global point of access to it.",
35-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-1-singleton"
35+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-1-singleton"
3636
}
3737
]
3838
},
@@ -45,43 +45,43 @@
4545
"id": "adapter",
4646
"title": "Adapter",
4747
"description": "Convert the interface of a class into another interface clients expect. Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.",
48-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-2-adapter"
48+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-2-adapter"
4949
},
5050
{
5151
"id": "bridge",
5252
"title": "Bridge",
5353
"description": "Decouple an abstraction from its implementation so that the two can vary independently.",
54-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-17-bridge"
54+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-17-bridge"
5555
},
5656
{
5757
"id": "composite",
5858
"title": "Composite",
5959
"description": "Compose objects into tree structures to represent part-whole hierarchies. Composite lets clients treat individual objects and compositions of objects uniformly.",
60-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-4-composite"
60+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-4-composite"
6161
},
6262
{
6363
"id": "decorator",
6464
"title": "Decorator",
6565
"description": "Attach additional responsibilities to an object dynamically. Decorators provide a flexible alternative to subclassing for extending functionality.",
66-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-16-decorator"
66+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-16-decorator"
6767
},
6868
{
6969
"id": "facade",
7070
"title": "Facade",
7171
"description": "Provide an unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.",
72-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-7-facade"
72+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-7-facade"
7373
},
7474
{
7575
"id": "flyweight",
7676
"title": "Flyweight",
7777
"description": "Use sharing to support large numbers of fine-grained objects efficiently.",
78-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-19-flyweight"
78+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-19-flyweight"
7979
},
8080
{
8181
"id": "proxy",
8282
"title": "Proxy",
8383
"description": "Provide a surrogate or placeholder for another object to control access to it.",
84-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-15-proxy"
84+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-15-proxy"
8585
}
8686
]
8787
},
@@ -94,67 +94,67 @@
9494
"id": "chain-of-responsibility",
9595
"title": "Chain of Responsibility",
9696
"description": "Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.",
97-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-20-chain-of-responsibility"
97+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-20-chain-of-responsibility"
9898
},
9999
{
100100
"id": "command",
101101
"title": "Command",
102102
"description": "Encapsulate a request as an object, thereby letting you parameterize clients with different requests, queue or log requests, and support undoable opera­tions.",
103-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-12-command"
103+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-12-command"
104104
},
105105
{
106106
"id": "interpreter",
107107
"title": "Interpreter",
108108
"description": "Given a language, define a representation for its grammar along with an inter­preter that uses the representation to interpret sentences in the language.",
109-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-8-interpreter"
109+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-8-interpreter"
110110
},
111111
{
112112
"id": "iterator",
113113
"title": "Iterator",
114114
"description": "Provide a way to access the elements of an aggregate object sequentially without exposing its underlying representation.",
115-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-9-iterator"
115+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-9-iterator"
116116
},
117117
{
118118
"id": "mediator",
119119
"title": "Mediator",
120120
"description": "Define an object that encapsulates how a set of objects interact. Mediator promotes loose coupling by keeping objects from referring to each other explicitly, and it lets you vary their interaction independently.",
121-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-22-mediator"
121+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-22-mediator"
122122
},
123123
{
124124
"id": "memento",
125125
"title": "Memento",
126126
"description": "Without violating encapsulation, capture and externalize an object's internal state so that the object can be restored to this state later.",
127-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-13-memento"
127+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-13-memento"
128128
},
129129
{
130130
"id": "observer",
131131
"title": "Observer",
132132
"description": "Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.",
133-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-23-observer"
133+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-23-observer"
134134
},
135135
{
136136
"id": "state",
137137
"title": "State",
138138
"description": "Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.",
139-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-6-state"
139+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-6-state"
140140
},
141141
{
142142
"id": "strategy",
143143
"title": "Strategy",
144144
"description": "Define a family of algorithms, encapsulate each one, and make them interchange­able. Strategy lets the algorithm vary independently from clients that use it.",
145-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-5-strategy"
145+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-5-strategy"
146146
},
147147
{
148148
"id": "template-method",
149149
"title": "Template Method",
150150
"description": "Define the skeleton of an algorithm in an operation, deferring some steps to sub­classes. Template Method lets subclasses redefine certain steps of an algorithm without changing the algorithm's structure.",
151-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-3-template-method"
151+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-3-template-method"
152152
},
153153
{
154154
"id": "visitor",
155155
"title": "Visitor",
156156
"description": "Represent an operation to be performed on the elements of an object structure. Visitor lets you define a new operation without changing the classes of the elements on which it operates.",
157-
"articleUrl": "https://kazlauskas.dev/flutter-design-patterns-21-visitor"
157+
"articleUrl": "https://kazlauskas.dev/blog/flutter-design-patterns-21-visitor"
158158
}
159159
]
160160
}

lib/helpers/url_launcher.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class UrlLauncher {
99

1010
static Future<void> launchFlutterDesignPatternsIntroductionPage() =>
1111
launchUrl(
12-
'https://kazlauskas.dev/flutter-design-patterns-0-introduction',
12+
'https://kazlauskas.dev/blog/flutter-design-patterns-0-introduction',
1313
);
1414

1515
static Future<void> launchUrl(String url) async {

0 commit comments

Comments
 (0)