get_rx_persist 1.1.0+1 get_rx_persist: ^1.1.0+1 copied to clipboard
Get Rx Lite-weight Persist, which enable auto persistence feature to get_rx package
get_rx_persist #
A flutter project makes your Rx value auto restore and persist.
Examples #
Features #
-
Easy to use
-
Support all platform
-
Support various and customized storage
-
Using in multiple real world projects
-
100% test coverage
Supported Types #
int, num, double, String, bool, Null, Object, List, Set, Map
Maintenance #
This project is maintaining.
Install #
flutter pub add get_rx_persist
Storage #
Provided Storage #
- DefaultStorageProvider/GetStorageProvider: use GetStorage as storage
- MemoryStorageProvider: use memory as storage
- MockStorageProvider: used for test, provide some test helper methods, check source code for more info
Customized Storage #
Create a customized class that extends StorageProvider
import 'package:get_rx_persist/src/storage_provider.dart';
// your customized storage provider
class CustomizedStorageProvider extends StorageProvider {
// implements all abstract methods here
}