single_item_storage 2.1.0 copy "single_item_storage: ^2.1.0" to clipboard
single_item_storage: ^2.1.0 copied to clipboard

A single item storage abstraction with CRUD operations. Use it for abstracting (complex) storage implementations, testing, and quickly swapping implementations.

2.1.0 #

  • Update minimum supported SDK version to Flutter 3.22/Dart 3.4

2.0.1 #

  • Add privacy policy files for iOS

2.0.0 #

*Breaking:

  • Require Dart 3.1
  • Require Flutter >=3.13
  • Require Android SDK 34

1.0.5 #

  • Dependencies update

1.0.4 #

  • Added silent Storage interactions to ObservedStorage.

    The following will not trigger updates or updatesSticky:

    myObservedStorage.silent.save(item)

1.0.3 #

  • Used any version for async dependency to avoid version conflicts

1.0.2 #

  • Added StubStorage
  • Added Observed Storage that has listener for changes

1.0.1 #

  • Remove unused Flutter dependency.

1.0.0 #

  • Added null safety
  • Breaking change: storage.get() is now nullable. Null is returned when an item is not found
  • Breaking change: DataNotFound exception is removed

0.0.1 #

  • Initial version. Storage abstraction defined. In-memory cache implementations provided.
4
likes
160
points
129
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A single item storage abstraction with CRUD operations. Use it for abstracting (complex) storage implementations, testing, and quickly swapping implementations.

Homepage

License

MIT (license)

Dependencies

async

More

Packages that depend on single_item_storage