PackageTrack
Sign in Get early access

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 2025
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 22
  1. 6.0.0 18 Mar 2025

    Nothing published for this version

  2. 5.0.0 01 Apr 2024

    Nothing published for this version

  3. 4.0.1+2 06 Mar 2023

    Nothing published for this version

  4. 4.0.1+3 26 Jun 2023

    Nothing published for this version

  5. 4.0.1+4 26 Jun 2023

    Nothing published for this version

  6. 4.0.0+1 14 Mar 2021

    Nothing published for this version

  7. 3.0.6+9 19 Dec 2020
    Release notes
    • fix wrong truncate size (use utf8.encode)
    Open source →
  8. 3.0.5+8 18 Dec 2020
    Release notes
    • fix an issue with initial storage creation
    Open source →
  9. 3.0.4+7 17 Dec 2020
    Release notes Open source →
  10. 3.0.3+6 16 Oct 2020

    Nothing published for this version

  11. 3.0.2+5 17 Apr 2020
    Release notes
    • fix clear() (drops data only from a storage instance, not all storages)
    Open source →
  12. 3.0.1+4 19 Nov 2019
    Release notes
    • fix remove(key) (drops value from in-memory cache)
    Open source →
  13. 3.0.0 24 Oct 2019
    Release notes

    Breaking changes (desktop only)

    Application document directory is no longer Platform['HOME']/.config as path_provider has desktop support with path_provider_fde.

    In order to be able to use this package on desktop, add this to your pubspec.yaml

    dependencies:
      localstorage: ^3.0.0
      path_provider_fde:
        git:
          url: https://github.com/google/flutter-desktop-embedding/
          path: plugins/flutter_plugins/path_provider_fde
    

    See 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
    Open source →
  14. 3.0.0+1 24 Oct 2019

    Nothing published for this version

  15. 3.0.0+2 24 Oct 2019

    Nothing published for this version

  16. 3.0.0+3 03 Nov 2019

    Nothing published for this version

  17. 2.0.0 14 May 2019
    Release notes
    • fix inconsistent return format of getItem. It now always returns JsonEncodable representation of an item
    • add optional toEncodable arg to setItem
    Open source →
  18. 1.3.0 21 Apr 2019
    Release notes

    Closes #4
    #4

    Open source →
    Release notes
    • add optional pathargument to specify storage folder
    • fixes for flutter-desktop-embedding
    Open source →
  19. 1.2.0 16 Feb 2019
    Release notes
    • add clear method
    Open source →
  20. 1.1.0 02 Feb 2019
    Release notes
    • add onError property (ValueNotifier which emits errors)
    Open source →
  21. 1.0.1 23 Sep 2018
    Release notes
    • Add example application
    Open source →
  22. 1.0.0 22 Sep 2018
    Release notes
    • Initial release
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive