Commit dbe14c8 1 parent ba1d842 commit dbe14c8 Copy full SHA for dbe14c8
File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -182,7 +182,7 @@ implemented three different ways:
182
182
183
183
Macros provide reusable mechanisms to address patterns characterized by tedious
184
184
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:
186
186
187
187
- ** Json serialization.** The extra tooling required to serialize JSON,
188
188
like the [ json_serializable] [ ] package, isn't as efficient as it should be.
@@ -202,9 +202,12 @@ Some common examples are:
202
202
users. Macros could potentially provide a solution that iterates over a
203
203
complex ` build ` method to generates smaller widget classes,
204
204
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.
205
207
206
208
[ json_serializable ] : {{site.pub-pkg}}/json_serializable
207
209
[ most requested ] : {{site.repo.dart.lang}}/issues/314
210
+ [ stateful-macro ] : {{site.flutter-docs}}/go/stateful-macro
208
211
209
212
### How macros work
210
213
You can’t perform that action at this time.
0 commit comments