We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 43758f1 commit c4aa92bCopy full SHA for c4aa92b
README.md
@@ -63,8 +63,11 @@ Widget build(BuildContext context) {
63
```dart
64
// provide a shared_prefences key
65
final SharedValue<int> counter = SharedValue(
66
- key: "counter", // disk storage key for shared_preferences (optional)
67
- autosave: true, // autosave to shared prefs when value changes (optional)
+ // disk storage key for shared_preferences (optional)
+ key: "counter",
68
+
69
+ // autosave to shared prefs when value changes (optional)
70
+ autosave: true,
71
);
72
73
void main() async {
0 commit comments