Search packages, repositories and app categories

Package detailsv1.2.2

sqflite_common_ffi_web

Sqflite web implementation using sqlite3 ffi and sqlite3 wasm.

Web
30-day downloads
94.6K
Likes
45
Pub points
160

Install package

flutter pub add sqflite_common_ffi_web

Package Overview

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

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

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

sqflite

pub package

SQLite plugin for Flutter. Supports iOS, Android and MacOS.

  • Support transactions and batches
  • Automatic version management during open
  • Helpers for insert/query/update/delete queries
  • DB operation executed in a background thread on iOS and Android
  • Linux/Windows/DartVM support using sqflite_common_ffi

Documentation

Categories

Dependencies

Dependency list 12 items

Source repository

Projects using this package