Skip to content

Commit 47a9a46

Browse files
authored
Update README.md [skip ci]
1 parent cfa108f commit 47a9a46

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,14 @@ rxPrefs2.setStringList('KEY_LIST', ['Cool']); // [*] will not print an
234234
Future<void> write<T extends Object>(String key, T? value, Encoder<T?> encoder);
235235
```
236236

237-
### 5. Dispose
237+
### 6. Dispose
238238

239-
You can dispose `RxSharedPreferences` when is no longer needed.
239+
You can dispose the `RxSharedPreferences` when it is no longer needed.
240240
Just call `rxPrefs.dispose()`.
241-
Usually you call this method on `dispose` of a `State`
241+
Usually, you call this method on `dispose` method of a Flutter `State`.
242242

243243
> NOTE: If you use the default singleton instance (via `RxSharedPreferences.getInstance()`,
244-
> you should **not** call `dispose` method,
244+
> you should **not** call the `dispose` method,
245245
> must keep the instance alive for the entire lifetime of the application.
246246

247247

0 commit comments

Comments
 (0)