Repository navigation
Commit 141cf5f
committed
Add explanatory comments to MapNotifier in optimistic update examples
- Add comment explaining widgets watching MapNotifier will automatically rebuild
- Applied to all three examples using MapNotifier:
- optimistic_simple_delete_example.dart
- optimistic_undoable_delete_example.dart
- optimistic_undoable_toggle_example.dart
- Clarifies reactive nature of MapNotifier for readers1 parent 0dd66bf commit 141cf5f
3 files changed
Lines changed: 3 additions & 0 deletions
File tree
- code_samples/lib/command_it
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
0 commit comments