drift
2.35.4, released 12 days ago by simonbinder.eu
Drift is a reactive library to store relational data in Dart and Flutter applications.
What it does
This is the author's description from pub.dev. We haven't written a summary with use cases and trade-offs for this package yet.
Setup
- Kind
- Pure Dart
- Code generation
- No
- Direct dependencies
- 9
Alternatives
Packages that do the same job and could replace drift.
- tostore
Local data engine providing key-value, SQL/NoSQL tables, vector embeddings, and hybrid text search.
88Compare - cbl
An offline-first NoSQL document database with SQL++ queries, full-text search, and bi-directional sync.
86Compare - cbl_flutter
Flutter plugin for Couchbase Lite, an embedded NoSQL document database with sync support.
82Compare - cbl_dart
Embedded NoSQL JSON document database for pure Dart and Flutter apps.
79Compare
Works with
Packages commonly used together with drift: ones it builds on, ones built on it, and its own family.
- stack_tracedrift depends on itProvides parsing, inspection, and readable formatting of Dart stack traces.
- webdrift depends on itLightweight bindings for browser APIs via JS interop
- asyncdrift depends on itUtility classes and helpers that extend Dart's async library.
- convertdrift depends on itEncoders and decoders for converting between different data representations.
- stream_channeldrift depends on itAn abstraction for two-way communication channels based on the Dart Stream class.
- sqlite3drift depends on itLightweight and convenient SQLite bindings for Dart using dart:ffi
- sqlite3_webSame familyAsync SQLite access on the web via workers with automatic storage detection
- drift_devBuilt on driftGenerates Dart database code from Drift table definitions as a dev‑dependency.