Flutter Gems is a curated list of 6000+ useful Dart & Flutter packages that are categorized based on functionality.
Top Flutter Persistent SQL Database packages
Last updated: September 11, 2024
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
Dart 3 compatible π 4.93K
Maintenance Status: Good
Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.
drift
Dart 3 compatible π 1.7K
Maintenance Status: Good
Drift is a reactive library to store relational data in Dart and Flutter applications.
floor
Dart 3 compatible π 915
Maintenance Status: Good
The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications. This library is the runtime dependency.
sqlite3
Dart 3 compatible π 322
Maintenance Status: Good
Provides lightweight yet convenient bindings to SQLite by using dart:ffi
sqfentity
Dart 3 compatible π 277
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.
sqflite_common_ffi
Dart 3 compatible π 263
Maintenance Status: Good
sqflite ffi based implementation, for desktop and units tests.
orm
Dart 3 compatible π 204
Maintenance Status: Good
Next-generation ORM for Dart & Flutter | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB.
sqflite_sqlcipher
Dart 3 compatible π 138
Maintenance Status: Good
Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine. (SqlCipher support)
sqlite3_flutter_libs
Dart 3 compatible π 132
Maintenance Status: Good
Flutter plugin to include native sqlite3 libraries with your app
drift_db_viewer
Dart 3 compatible π 75
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.
psqlite
Dart 3 compatible π 69
Maintenance Status: Good
PSQLite is a wrapper to work with SQLite databases in a simpler, more intuitive and scalable way for any Flutter project.
sqflite_common
Dart 3 compatible π 67
Maintenance Status: Good
Dart wrapper on SQLite, a self-contained, high-reliability, embedded, SQL database engine.
powersync
Dart 3 compatible π 54
Maintenance Status: Good
PowerSync Flutter SDK - keep PostgreSQL databases in sync with on-device SQLite databases.
sqlbrite
Dart 3 compatible π 49
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.
idb_sqflite
Dart 3 compatible π 44
Maintenance Status: Good
IndexedDB API on top of sqflite for Flutter (Desktop and Mobile) and DartVM io applications
sqlite_async
Dart 3 compatible π 41
Maintenance Status: Good
High-performance asynchronous interface for SQLite on Dart and Flutter.
quds_db
Dart 3 compatible π 33
Maintenance Status: Good
A sqflite expansion package that simplifies creating databases and tables, crud operations, queries with modelization
sqflite_common_ffi_web
Dart 3 compatible π 32
Maintenance Status: Good
Sqflite web implementation using sqlite3 ffi and sqlite3 wasm.
sqlparser
Dart 3 compatible π 31
Maintenance Status: Good
Parses sqlite statements and performs static analysis on them
sqlcipher_flutter_libs
Dart 3 compatible π 30
Maintenance Status: Good
Flutter plugin to include native SQLCipher libraries in your app
sqfentity_gen
Dart 3 compatible π 19
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
Dart 3 compatible π 4
Maintenance Status: Good
SQLite connector for Brick, a data persistence library for Flutter
wazeloquent
Dart 3 compatible π 26
Maintenance Status: Poor
WazEloquent is a flutter package in which you can interact with in-app βsqliteβ database in the style of Laravel Eloquent.
sqlcool
π 42
Maintenance Status: Poor
Easy and reactive Sqlite. Stream of changes, select bloc, custom database models
sqlite_viewer
π 37
Maintenance Status: Poor
A Flutter package provides a widget to display the contents of SQLite.