FLUTTER ECOSYSTEM

stash

Stash is a key-value store abstraction with plain and cache driven semantics and support for a pluggable backend architecture.

Latest version
5.2.0
30-day downloads
20.8K
Likes
158
Pub points
140

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

Stash is a flexible key-value store abstraction in Dart, designed for persistent data storage across multiple platforms. It supports both plain and cache-driven semantics, enabling efficient data access with optional caching layers. Its pluggable backend architecture allows developers to switch between different storage implementations seamlessly. Stash is ideal for apps needing reliable, performant local storage with minimal boilerplate. It works on Android, iOS, Web, macOS, Windows, and Linux, making it suitable for cross-platform applications requiring structured data persistence.

Use cases
  • Offline data storage
  • Caching application state
  • Cross-platform local data management
  • Session persistence
  • Configuration storage
  • State management for offline-first apps
Key features
  • Pluggable backend architecture
  • Plain and cache-driven semantics
  • Cross-platform support
  • Minimal boilerplate
  • Type-safe key-value operations
  • Extensible storage backends
Suitable for
  • Cross-platform Flutter apps
  • Offline-first applications
  • Apps requiring configurable storage strategies
  • Developers seeking flexible data persistence
  • Projects needing lightweight NoSQL-like storage
Considerations
  • Requires understanding of backend configuration
  • May need additional setup for complex caching logic
  • Limited to key-value patterns
  • Not suitable for relational data
  • Performance depends on chosen backend
  • Learning curve for advanced features
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add stash

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects