shared_preferences_moretypes 3.0.0 shared_preferences_moretypes: ^3.0.0 copied to clipboard
extension of shared prefernces so more variables can be stored easily
shared_preferences_moretypes #
I wasn't able to save all the datatypes I liked so why not extend it ;)
Datatypes supported: #
String
int
bool
double
- Recursive Lists of the above (e.g
List<double>
List<double<double<double>>>
e.t.c) - Recursive Maps of the above (e.g
Map<String,String>
Map<String,Map<int,String>>
e.t.c)
Usage #
save some data
await ExtendedPrefs().dataStore("keyS", "value");
load some saved data
await ExtendedPrefs().dataLoad("keyS", "String");