Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jifalops/shared_prefs_resource
An AsyncResource interface for Flutter shared preferences storage.
https://github.com/jifalops/shared_prefs_resource
Last synced: 5 days ago
JSON representation
An AsyncResource interface for Flutter shared preferences storage.
- Host: GitHub
- URL: https://github.com/jifalops/shared_prefs_resource
- Owner: jifalops
- License: mit
- Created: 2018-08-25T20:02:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-03T15:31:56.000Z (over 6 years ago)
- Last Synced: 2025-01-18T09:53:24.990Z (6 days ago)
- Language: Dart
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# ~~shared_prefs_resource~~
An AsyncResource interface for Flutter shared preferences storage.
## Deprecated
Please use [`async_resource_flutter`](https://pub.dartlang.org/packages/async_resource_flutter) instead.
## Examples
See https://pub.dartlang.org/packages/async_resource.
```dart
final stringRes = StringPrefsResource('string');
final boolRes = BoolPrefsResource('bool');
final intRes = IntPrefsResource('int');
final doubleRes = DoublePrefsResource('double');
final stringListRes = StringListPrefsResource('list');
```