Skip to content

Commit dbe14c8

Browse files
committed
add stateful-macros proposal link
1 parent ba1d842 commit dbe14c8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/language/macros.md

+4-1
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ implemented three different ways:
182182

183183
Macros provide reusable mechanisms to address patterns characterized by tedious
184184
boilerplate, and often times the need to iterate over the fields of a class.
185-
Some common examples are:
185+
Some common examples that we hope to solve with macros in the future are:
186186

187187
- **Json serialization.** The extra tooling required to serialize JSON,
188188
like the [json_serializable][] package, isn't as efficient as it should be.
@@ -202,9 +202,12 @@ Some common examples are:
202202
users. Macros could potentially provide a solution that iterates over a
203203
complex `build` method to generates smaller widget classes,
204204
greatly improving productivity and quality of Flutter code.
205+
You can check out one exploration into this topic in this
206+
[proposal][stateful-macro] from the Flutter team.
205207

206208
[json_serializable]: {{site.pub-pkg}}/json_serializable
207209
[most requested]: {{site.repo.dart.lang}}/issues/314
210+
[stateful-macro]: {{site.flutter-docs}}/go/stateful-macro
208211

209212
### How macros work
210213

0 commit comments

Comments
 (0)