shared_preferences_plus_web 1.0.1 copy "shared_preferences_plus_web: ^1.0.1" to clipboard
shared_preferences_plus_web: ^1.0.1 copied to clipboard

Platformweb

Web implementation of shared_preferences_plus.

shared_preferences_plus_web #

The Web implementation of the shared_preferences_plus plugin.

Usage #

This package is endorsed, which means you can simply use shared_preferences_plus normally. This package will be automatically included in your app when you depend on shared_preferences_plus.

dependencies:
  shared_preferences_plus: ^1.0.0

Implementation Details #

  • Uses the browser's localStorage API for persistent key-value storage.
  • Data is stored as JSON-encoded maps, keyed by the container name.
  • Supports named containers through SharedPreferencesPlusOptions for isolated namespaces.
  • Supports retrieving all preferences with the getAll method.