Commit 62cf487
committed
widgets/content: Add MessageInheritedWidget to provide message simply
A lot of different widgets, some pretty deeply nested, go into
rendering a message's content. This way each of those widgets can
get data from the relevant Message object as needed, without the
need for passing it all the way down, from widget params to widget
params.1 parent 9b122d4 commit 62cf487
1 file changed
+18
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
26 | 43 | | |
27 | 44 | | |
28 | 45 | | |
| |||
0 commit comments