FLUTTER ECOSYSTEM

sqflite_common_ffi_web

Sqflite web implementation using sqlite3 ffi and sqlite3 wasm.

Latest version
1.1.1
30-day downloads
29.6K
Likes
41
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

Sqflite_common_ffi_web provides a web-compatible implementation of Sqflite using sqlite3 FFI and SQLite3 WebAssembly. It enables Flutter applications to use SQLite databases on the web with the same API as native platforms, ensuring consistent database operations across mobile and web. This package bridges the gap between native SQLite access and web environments by leveraging efficient WASM-based SQLite execution.

Use cases
  • Web-based offline data storage
  • Cross-platform apps needing SQLite consistency
  • Offline-first web applications
  • Database operations in browser environments
  • Apps requiring SQL queries on web
Key features
  • SQLite3 via WebAssembly
  • FFI-based performance
  • Same API as native Sqflite
  • Browser-compatible database access
  • Lightweight and fast execution
Suitable for
  • Developers targeting web with SQLite
  • Apps needing persistent local storage on web
  • Projects using Sqflite across platforms
  • High-performance web database needs
  • Teams seeking unified database logic
Considerations
  • Requires WebAssembly support in browser
  • Limited to SQLite-specific features
  • Not suitable for server-side use
  • May increase bundle size slightly
  • Depends on external SQLite3 WASM binary
Supported platformsWeb

Install package

flutter pub add sqflite_common_ffi_web

Categories

Source repository

Related projects