Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -5,7 +5,7 @@ import 'list_notifier.dart'; | @@ -5,7 +5,7 @@ import 'list_notifier.dart'; | ||
| 5 | 5 | ||
| 6 | typedef ValueBuilderUpdateCallback<T> = void Function(T snapshot); | 6 | typedef ValueBuilderUpdateCallback<T> = void Function(T snapshot); |
| 7 | typedef ValueBuilderBuilder<T> = Widget Function( | 7 | typedef ValueBuilderBuilder<T> = Widget Function( |
| 8 | - T snapshot, ValueBuilderUpdateCallback<T> updater); | 8 | + T? snapshot, ValueBuilderUpdateCallback<T> updater); |
| 9 | 9 | ||
| 10 | /// Manages a local state like ObxValue, but uses a callback instead of | 10 | /// Manages a local state like ObxValue, but uses a callback instead of |
| 11 | /// a Rx value. | 11 | /// a Rx value. |
-
Please register or login to post a comment