I wasn't able to save all the datatypes I liked so why not extend it ;)
String
int
bool
double
- Recursive Lists of the above (e.g
List<double>
List<List<List<double>>>
e.t.c) - Recursive Maps of the above (e.g
Map<String,String>
Map<String,Map<int,String>>
e.t.c)
save some data
await ExtendedPrefs().dataStore("keyS", "value");
load some saved data
await ExtendedPrefs().dataLoad("keyS", "String");