Dart ORM Libraries

Dart ORM Libraries

Dart ORM libraries are optimized for Flutter application development. Drift provides type-safe SQLite implementation, Floor offers Room-inspired design, Hive provides a NoSQL database, and Isar offers a high-performance database optimized for Flutter. They are designed for mobile application use.

GitHub Star Comparison

Dart ORM Libraries GitHub Star Comparison
NoNameGitHub StarsDescriptionTrendLicenseTypeOfficial Site
1Hive⭐ 4.3kHive is "a lightweight and blazing fast key-value database for Dart" developed as a NoSQL database solution for local data storage in Flutter applications. Written in pure Dart, it works on Flutter, Dart VM, and Dart2JS with no external dependencies. Compared to traditional SQLite or CoreData, it offers significantly faster performance while maintaining type safety and simple API design. With adapter functionality for persisting arbitrary Dart objects and standard features including encryption, compression, and backup capabilities, it serves as a primary local storage solution for modern Flutter application development.stableApache-2.0LibraryOfficial
2Isar⭐ 3.9kIsar is "a super fast NoSQL database for Flutter/Dart" developed as a cross-platform database with native performance. Its core engine written in C++ achieves overwhelming read/write performance that surpasses SQLite, communicating directly with native code through Dart FFI (Foreign Function Interface). With type-safe and intuitive query APIs, powerful indexing capabilities, automatic schema migration, and reactive stream monitoring, it establishes a new standard for high-performance local storage solutions in modern Flutter application development.stableApache-2.0LibraryOfficial
3Drift⭐ 2.9kDrift is an easy-to-use, reactive, type-safe persistence library for Dart & Flutter. Built on SQLite, it provides reactive capabilities that can turn any SQL query into an auto-updating stream, offering compile-time type safety and query validation. You can write queries in both SQL and Dart, supporting complex SQL features like WITH and WINDOW clauses, making it the ideal database solution for modern mobile and desktop application development.stableMITLibraryOfficial
4Floor⭐ 1.0kFloor is "a type-safe, reactive, and lightweight SQLite abstraction library for Flutter applications" developed as a popular ORM library in the Flutter ecosystem. Inspired by Android's Room persistence library, it provides complex SQLite operations through a simple and intuitive API using an annotation-based approach. With automatic migrations, reactive streams, null safety support, and maximum utilization of modern Dart features, Floor enables the construction of robust data persistence layers for Flutter applications.stableApache-2.0LibraryOfficial
5Sembast⭐ 836Sembast stands for "Simple Embedded Application Store" and is a lightweight yet powerful NoSQL database library for Dart and Flutter. Designed for single-process applications as a persistent NoSQL store, the entire document-based database resides in a single file and is loaded into memory when opened. Being 100% Dart implementation with no plugins required, it works on all platforms (Android/iOS/macOS/Linux/Windows/Web) and provides encryption support, high-performance read/write operations, and an intuitive API, making it an ideal modern database solution for mobile and desktop app development.stableBSD-3-ClauseLibraryOfficial
6SQLite (sqflite)-sqflite is a lightweight and high-performance SQLite database library for Flutter, positioned as the "definitive solution for local data persistence on iOS, Android, and macOS." As the de facto standard SQLite implementation in the Flutter ecosystem, it provides a comprehensive solution for structured data management in mobile applications, balancing native performance and type safety, specifically tailored for mobile app development.stableBSD-2-ClauseLibraryOfficial
7ObjectBox-ObjectBox is a high-performance lightweight NoSQL database. Optimized for mobile and IoT devices with an object-oriented approach, it achieves up to 70x faster performance than other options for create and update operations. With Dart-native type-safe API, it provides excellent development experience for Flutter applications.stableMITLibrary-