localstorage
LocalStorage for Flutter. Alternative to React Native's AsyncStorage.
6.0.0
14K downloads/mo
#2525 most downloaded on pub.dev
lesnitsky/localstorage
What this package is like to depend on
Last release 1 years ago
18 Mar 2025
Release timing varies
gaps range from 9 days to 2.0 years
Some releases are documented
notes for 12 of 22 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
22 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
22 releases · Sep 2018 to Mar 2025Releases
latest 22-
6.0.018 Mar 2025Nothing published for this version
-
5.0.001 Apr 2024Nothing published for this version
-
4.0.1+206 Mar 2023Nothing published for this version
-
4.0.1+326 Jun 2023Nothing published for this version
-
4.0.1+426 Jun 2023Nothing published for this version
-
4.0.0+114 Mar 2021Nothing published for this version
-
3.0.6+919 Dec 2020 -
3.0.5+818 Dec 2020 -
3.0.4+717 Dec 2020 -
3.0.3+616 Oct 2020Nothing published for this version
-
3.0.2+517 Apr 2020 -
3.0.1+419 Nov 2019 -
3.0.024 Oct 2019Release notes
Open source →Breaking changes (desktop only)
Application document directory is no longer
Platform['HOME']/.configaspath_providerhas desktop support withpath_provider_fde.In order to be able to use this package on desktop, add this to your
pubspec.yamldependencies: localstorage: ^3.0.0 path_provider_fde: git: url: https://github.com/google/flutter-desktop-embedding/ path: plugins/flutter_plugins/path_provider_fdeSee https://github.com/google/flutter-desktop-embedding/tree/master/plugins/flutter_plugins for more details
Features
- support web (kudos to @AppleEducate)
- add [LocalStorage.stream] which receives new storage values after modifications
Bug fixes
- flush writes to fs
Misc
- use async read/writes instead of sync
-
3.0.0+124 Oct 2019Nothing published for this version
-
3.0.0+224 Oct 2019Nothing published for this version
-
3.0.0+303 Nov 2019Nothing published for this version
-
2.0.014 May 2019Release notes
Open source →- fix inconsistent return format of
getItem. It now always returnsJsonEncodablerepresentation of an item - add optional
toEncodablearg tosetItem
- fix inconsistent return format of
-
1.3.021 Apr 2019Release notes
Open source →- add optional
pathargument to specify storage folder - fixes for flutter-desktop-embedding
- add optional
-
1.2.016 Feb 2019 -
1.1.002 Feb 2019 -
1.0.123 Sep 2018 -
1.0.022 Sep 2018