β–²

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

Discord Medium LinkedIn Twitter

Top Flutter Persistent SQL Database packages

Last updated: January 26, 2025

Embedded databases are those data stores that come prepackaged with devices (like smartphones) to persist data on the device for future use.

SQLite is an embedded SQL database that comes pre-packaged in smartphones and can be used to store data in a structured format. This data can be added, modified or deleted using the SQL programming language. In Flutter, there are other databases like drift that are built on top of SQLite that provide additional features.

The complete list of Dart and Flutter packages that provide you with utilities to create and update an embedded persistent SQL Database for your Flutter app is provided below.


sqflite
πŸ‘ 5.19K   β¬‡οΈ 1.3M
Dart 3 compatible
Maintenance Status: Good

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

drift
πŸ‘ 1.93K   β¬‡οΈ 248.7K
Dart 3 compatible
Maintenance Status: Good

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

floor
πŸ‘ 959   β¬‡οΈ 21.5K
Dart 3 compatible
Maintenance Status: Good

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

sqflite_common
πŸ‘ 69   β¬‡οΈ 747.1K
Dart 3 compatible
Maintenance Status: Good

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

sqlite3
πŸ‘ 370   β¬‡οΈ 401.3K
Dart 3 compatible
Maintenance Status: Good

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

sqlite3_flutter_libs
πŸ‘ 152   β¬‡οΈ 163.4K
Dart 3 compatible
Maintenance Status: Good

Flutter plugin to include native sqlite3 libraries with your app

sqflite_common_ffi
πŸ‘ 288   β¬‡οΈ 33.6K
Dart 3 compatible
Maintenance Status: Good

sqflite ffi based implementation, for desktop and units tests.

sqfentity Card Image
sqfentity
πŸ‘ 280   β¬‡οΈ 1.5K
Dart 3 compatible
Maintenance Status: Good

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
πŸ‘ 223   β¬‡οΈ 1.9K
Dart 3 compatible
Maintenance Status: Good

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

sqlparser
πŸ‘ 32   β¬‡οΈ 151.4K
Dart 3 compatible
Maintenance Status: Good

Parses sqlite statements and performs static analysis on them

sqflite_sqlcipher
πŸ‘ 141   β¬‡οΈ 9.9K
Dart 3 compatible
Maintenance Status: Good

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

drift_db_viewer Card Image
drift_db_viewer
πŸ‘ 87   β¬‡οΈ 16.2K
Dart 3 compatible
Maintenance Status: Good

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

powersync
πŸ‘ 89   β¬‡οΈ 4.8K
Dart 3 compatible
Maintenance Status: Good

PowerSync Flutter SDK - sync engine for building local-first apps.

amplify_db_common_dart
πŸ‘ 0   β¬‡οΈ 58.6K
Dart 3 compatible
Maintenance Status: Good

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

psqlite
πŸ‘ 70   β¬‡οΈ 35
Dart 3 compatible
Maintenance Status: Good

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

sqlite_async
πŸ‘ 53   β¬‡οΈ 7.2K
Dart 3 compatible
Maintenance Status: Good

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

drift_flutter
πŸ‘ 20   β¬‡οΈ 30K
Dart 3 compatible
Maintenance Status: Good

Easily set up drift databases across platforms in Flutter apps.

sqlbrite
πŸ‘ 52   β¬‡οΈ 772
Dart 3 compatible
Maintenance Status: Good

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

sqlcipher_flutter_libs
πŸ‘ 31   β¬‡οΈ 15.2K
Dart 3 compatible
Maintenance Status: Good

Flutter plugin to include native SQLCipher libraries in your app

idb_sqflite
πŸ‘ 44   β¬‡οΈ 157
Dart 3 compatible
Maintenance Status: Good

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

sqflite_common_ffi_web
πŸ‘ 34   β¬‡οΈ 3.2K
Dart 3 compatible
Maintenance Status: Good

Sqflite web implementation using sqlite3 ffi and sqlite3 wasm.

quds_db
πŸ‘ 33   β¬‡οΈ 18
Dart 3 compatible
Maintenance Status: Good

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

async_storage_reader
πŸ‘ 32   β¬‡οΈ 53
Dart 3 compatible
Maintenance Status: Good

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

floor_annotation
πŸ‘ 4   β¬‡οΈ 23.3K
Dart 3 compatible
Maintenance Status: Good

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

drift_sqflite
πŸ‘ 21   β¬‡οΈ 7.2K
Dart 3 compatible
Maintenance Status: Average

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

wazeloquent
πŸ‘ 26   β¬‡οΈ 11
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.

loon
πŸ‘ 23   β¬‡οΈ 338
Dart 3 compatible
Maintenance Status: Good

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

sqfentity_gen
πŸ‘ 19   β¬‡οΈ 1.5K
Dart 3 compatible
Maintenance Status: Good

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.

brick_sqlite
πŸ‘ 11   β¬‡οΈ 2K
Dart 3 compatible
Maintenance Status: Good

SQLite connector for Brick, a data persistence library for Flutter

cozy_data
πŸ‘ 12   β¬‡οΈ 33
Dart 3 compatible
Maintenance Status: Good

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   β¬‡οΈ 47

Maintenance Status: Poor

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

sqlite_viewer
πŸ‘ 37   β¬‡οΈ 276

Maintenance Status: Poor

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