infitio / flutter-adhara

Manage huge data easily on your flutter apps thereby creating a seamless offline experience...
https://pub.dartlang.org/packages/adhara
BSD 2-Clause "Simplified" License
12 stars 5 forks source link

Support preferences scoping #4

Open tiholic opened 5 years ago

tiholic commented 5 years ago

Currently preferences are directly written to pref's file with no scoping. This causes issues while debugging between different environments (viz., production, staging , and development). Preferences must be instantiable with scope (String, optional), and all operations inside a scoped preferences will be on a prefixed string as key, ex: "$prefix:$key"