β–²

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.