Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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');
```