Skip to content

Commit 614130b

Browse files
committed
Remove redundant comment in safe inline combine example
The comment on line 24 was redundant - the explanation about allowObservableChange: false being the default was already provided on line 18. Removed to avoid confusion.
1 parent f3864c9 commit 614130b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

code_samples/lib/watch_it/multiple_values_inline_combine_safe.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ class SafeInlineCombineWidget extends WatchingWidget {
2121
m.value2,
2222
(v1, v2) => v1 + v2,
2323
),
24-
// allowObservableChange: false (default) - selector called once, result cached
2524
);
2625

2726
print('Widget rebuilt with sum: $sum');

0 commit comments

Comments
 (0)