single_item_storage 2.0.0 copy "single_item_storage: ^2.0.0" to clipboard
single_item_storage: ^2.0.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.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
pub points
71%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async

More

Packages that depend on single_item_storage