Flutter Gems is a curated list of 7250+ useful Dart & Flutter packages that are categorized based on functionality.

Discord Medium LinkedIn X

Top Flutter Persistent SQL Database packages

Last updated: May 18, 2026

SQL Databases provide structured, relational, and persistent data storage directly on the user's device. They are essential for apps that require complex querying, offline capabilities, and data integrity.

Best Practices for SQL Databases

  • Use Async Operations Wisely: Database queries take time. Never block the main thread; always await your queries. For bulk operations (inserting hundreds of rows), use batch() processing to significantly improve performance.
  • Type Safety: Writing raw SQL strings is prone to typos and runtime errors. Consider using ORMs or type-safe wrappers like drift (formerly moor) to catch errors at compile time and auto-generate queries.
  • Database Migrations: Plan for the future. Always implement onUpgrade scripts to safely migrate your user's existing local database schema when you release an app update.

The complete list of Persistent and Embedded SQL Database packages for Flutter is provided below.


sqflite
👍 5.54K   ⬇️ 2.1M
Dart 3 compatible
Maintenance Status: Good

Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.

drift
👍 2.4K   ⬇️ 721.5K
Dart 3 compatible
Maintenance Status: Good

Drift is a reactive library to store relational data in Dart and Flutter applications.

sqflite_common
👍 75   ⬇️ 2.1M
Dart 3 compatible
Maintenance Status: Good

Dart wrapper on SQLite, a self-contained, high-reliability, embedded, SQL database engine.

sqlite3
👍 449   ⬇️ 1.2M
Dart 3 compatible
Maintenance Status: Good

Provides lightweight yet convenient bindings to SQLite by using dart:ffi

floor
👍 1K   ⬇️ 16.8K
Dart 3 compatible
Maintenance Status: Poor

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency.

sqlite3_flutter_libs
👍 175   ⬇️ 483.9K
Dart 3 compatible
Maintenance Status: Good

Not used anymore, update to version 3.x of package:sqlite3 instead

sqlparser
👍 35   ⬇️ 588.6K
Dart 3 compatible
Maintenance Status: Good

Parses sqlite statements and performs static analysis on them

sqflite_common_ffi
👍 316   ⬇️ 99.5K
Dart 3 compatible
Maintenance Status: Good

sqflite ffi based implementation, for desktop and units tests.

sqfentity Card Image
sqfentity
👍 280   ⬇️ 1.4K
Dart 3 compatible
Maintenance Status: Average

SqfEntity ORM for Flutter/Dart lets you build and execute SQL commands easily and quickly with the help of fluent methods similar to .Net Entity Framework.

orm
👍 240   ⬇️ 1.8K
Dart 3 compatible
Maintenance Status: Good

Next-generation ORM for Dart & Flutter | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB.

drift_flutter
👍 53   ⬇️ 223.1K
Dart 3 compatible
Maintenance Status: Good

Easily set up drift databases across platforms in Flutter apps.

sqflite_sqlcipher
👍 162   ⬇️ 43.8K
Dart 3 compatible
Maintenance Status: Good

Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine. (SqlCipher support)

powersync
👍 145   ⬇️ 27.4K
Dart 3 compatible
Maintenance Status: Good

PowerSync Dart and Flutter SDK. Sync Postgres, MongoDB, MySQL or SQL Server with SQLite in your app

sqlite_async
👍 76   ⬇️ 88.7K
Dart 3 compatible
Maintenance Status: Good

High-performance asynchronous interface for SQLite on Dart and Flutter.

drift_db_viewer
👍 104   ⬇️ 20.3K
Dart 3 compatible
Maintenance Status: Poor

A package to view your drift database in your own app with filtering and without the need of exporting your db file.

sqlcipher_flutter_libs
👍 38   ⬇️ 57.6K
Dart 3 compatible
Maintenance Status: Good

Not used anymore, update to version 3.x of package:sqlite3 instead

psqlite
👍 69   ⬇️ 33
Dart 3 compatible
Maintenance Status: Poor

PSQLite is a wrapper to work with SQLite databases in a simpler, more intuitive and scalable way for any Flutter project.

amplify_db_common_dart
👍 0   ⬇️ 83K
Dart 3 compatible
Maintenance Status: Good

Common utilities for working with databases such as sqlite. Used throughout Amplify packages.

sqflite_common_ffi_web
👍 41   ⬇️ 29.6K
Dart 3 compatible
Maintenance Status: Good

Sqflite web implementation using sqlite3 ffi and sqlite3 wasm.

sqlbrite
👍 53   ⬇️ 3K
Dart 3 compatible
Maintenance Status: Average

RxDart Reactive stream sqflite(sqlite) for Flutter - Sqlbrite for flutter - A lightweight wrapper around sqflite which introduces reactive stream semantics to SQL operations.

idb_sqflite
👍 46   ⬇️ 691
Dart 3 compatible
Maintenance Status: Good

IndexedDB API on top of sqflite for Flutter (Desktop and Mobile) and DartVM io applications

datum
👍 36   ⬇️ 85
Dart 3 compatible
Maintenance Status: Good

A powerful, offline-first data synchronization engine for Flutter and Dart, featuring relational data support, real-time queries, and intelligent conflict resolution.

async_storage_reader
👍 33   ⬇️ 114
Dart 3 compatible
Maintenance Status: Average

Flutter package to read AsyncStorage data from React Native apps, aiding migration to Flutter without data loss.

quds_db
👍 33   ⬇️ 16
Dart 3 compatible
Maintenance Status: Poor

A sqflite expansion package that simplifies creating databases and tables, crud operations, queries with modelization

drift_sqflite
👍 23   ⬇️ 9.5K
Dart 3 compatible
Maintenance Status: Poor

A Flutter-only implementation of a drift database, based on the `sqflite` package.

loon
👍 28   ⬇️ 269
Dart 3 compatible
Maintenance Status: Good

Loon is a reactive collection data store for Dart & Flutter.

syncable
👍 28   ⬇️ 64
Dart 3 compatible
Maintenance Status: Good

Offline-first multi-device data synchronization for Flutter apps

brick_offline_first_with_supabase
👍 27   ⬇️ 926
Dart 3 compatible
Maintenance Status: Good

A Brick domain that routes data fetching through local providers before a Supabase provider.

wazeloquent
👍 26   ⬇️ 23
Dart 3 compatible
Maintenance Status: Poor

WazEloquent is a flutter package in which you can interact with in-app “sqlite” database in the style of Laravel Eloquent.

sqfentity_gen
👍 19   ⬇️ 1.7K
Dart 3 compatible
Maintenance Status: Average

SqfnEntity Model Generator. SQLite ORM for Flutter lets you build and execute SQL commands easily and quickly with the help of fluent methods similar to .Net Entity Framework.

floor_annotation
👍 4   ⬇️ 17.3K
Dart 3 compatible
Maintenance Status: Poor

The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. Don't use this package directly. Import the floor package instead.

brick_sqlite
👍 17   ⬇️ 326
Dart 3 compatible
Maintenance Status: Good

SQLite connector for Brick, a data persistence library for Flutter

cozy_data
👍 16   ⬇️ 120
Dart 3 compatible
Maintenance Status: Average

A Swift-inspired persistent data management solution for Flutter. Provides simple, powerful, and type-safe way to persist your app's models with automatic UI updates.

sqlcool
👍 43   ⬇️ 45

Maintenance Status: Poor

Easy and reactive Sqlite. Stream of changes, select bloc, custom database models

sqlite_viewer
👍 37   ⬇️ 126

Maintenance Status: Poor

A Flutter package provides a widget to display the contents of SQLite.