xxf_cache 0.0.4
xxf_cache: ^0.0.4 copied to clipboard
缓存框架
缓存框架
Features #
- key_value存储,速度比官方shared_preferences 快5倍,底层使用isar
- 数据库存储
Getting started #
dependencies:
xxf_cache: ^0.0.3
Usage #
void test() {
final key = "xxx";
SharedPreferences.getInstance().getString(key).then((value) {
logI("=========>cached:$key =$value");
});
SharedPreferences.getInstance().putString(key, "$_counter");
}
Additional information #
Tell users more about the package: where to find more information, how to contribute to the package, how to file issues, what response they can expect from the package authors, and more.