Skip to content
CAI
Produce a survey ↗Verify a survey

tekartik/sqflite

This system is a cross-platform SQLite database library for Dart and Flutter, providing a unified API for database operations across Android, iOS, macOS, Windows, Linux, and Web environments. It supports multiple execution backends, including native platform channels, FFI-based isolates for concurrent access, and WebAssembly-based workers for browser environments. The architecture separates common database logic from platform-specific implementations, enabling headless usage and comprehensive testing across all supported platforms.

55.1

Adequate · 1 August 2026

21k

lines of production code

Dart

with Java

2

bus factor · 68 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2019–2020 · FFI extraction and cross-platform testing

The project refactored the core database logic into a standalone 'sqflite_common' package, separating it from Flutter-specific implementations. Concurrently, a new 'sqflite_common_ffi' package was introduced to provide a native FFI-based SQLite implementation for desktop and headless environments. This period also established a comprehensive cross-platform testing infrastructure, including a dedicated test application and CI tooling, to validate the new FFI and common library components.

29 changes

2021–2023 · Web and async FFI support

This period focused on implementing web-based SQLite support using FFI and WebAssembly, enabling database operations to run in background workers. It also introduced an asynchronous FFI implementation for concurrent database access and added comprehensive test suites for both web and console environments.

22 changes

2024–2026 · Multi-platform architecture and isolation support

The codebase underwent a significant architectural shift to support multiple platforms (Android, iOS, macOS, and Web) through a modular interface and platform-specific implementations. Key additions included the sqflite_ffi plugin for cross-isolate database sharing and native bindings for Android and Darwin, alongside comprehensive test suites for each environment.

22 changes

CAI lens gauges

Survey your own repository

tekartik/sqflite was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 1 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 9d067a72e4 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards