FLUTTER ECOSYSTEM

idb_shim

indexed_db dart base interface with implementation for native (browser), file (io) and in memory.

Latest version
2.9.9
30-day downloads
178K
Likes
39
Pub points
160

Package Overview

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

Overview

idb_shim provides a unified Dart interface for IndexedDB across multiple platforms, including web browsers, mobile (Android/iOS), and desktop (macOS, Windows, Linux). It offers native browser support, file-based storage via the 'io' package, and in-memory storage for testing or temporary data. This package enables consistent NoSQL database operations regardless of the underlying platform, making it ideal for apps requiring offline data persistence with cross-platform compatibility.

Use cases
  • Offline data storage
  • Cross-platform app development
  • Testing with in-memory databases
  • Persistent client-side data
  • Hybrid web and mobile applications
Key features
  • Unified IndexedDB API
  • Supports native browser, file, and in-memory backends
  • Cross-platform compatibility
  • Simple async/await interface
  • Lightweight and modular design
Suitable for
  • Flutter apps needing persistent storage
  • Developers targeting multiple platforms
  • Apps requiring offline functionality
  • Prototyping with temporary data
  • Projects using NoSQL data models
Considerations
  • Requires understanding of IndexedDB concepts
  • File-based storage may have size limits
  • In-memory mode not persistent across restarts
  • Not suitable for large-scale data without optimization
  • Platform-specific behavior may require testing
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add idb_shim

Categories

Dependencies

Dependency list 6 items

Source repository

Related projects

Rankings