We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c65587 commit 205426eCopy full SHA for 205426e
lib/shared_value.dart
@@ -84,7 +84,7 @@ class SharedValue<T> {
84
85
/// Get the value held by this state,
86
/// and also rebuild the widget in [context] whenever [mutate] is called.
87
- T of([BuildContext? context]) {
+ T of(BuildContext? context) {
88
if (context != null) {
89
InheritedModel.inheritFrom<SharedValueInheritedModel>(
90
context,
pubspec.yaml
@@ -1,6 +1,6 @@
1
name: shared_value
2
description: A straightforward way to manage global state in flutter apps.
3
-version: 2.1.1
+version: 2.1.2
4
author: Dev Aggarwal <[email protected]>
5
homepage: https://github.com/scientifichackers/flutter-shared-value
6
0 commit comments