Skip to content

I wasn't able to save all the datatypes I liked so why not extend it ;)

License

Notifications You must be signed in to change notification settings

Robert3141/shared_preferences_moretypes

Repository files navigation

shared_preferences_moretypes

Pub Documentation

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<List<List<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");

About

I wasn't able to save all the datatypes I liked so why not extend it ;)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages