I was wonder if there any alternative way to store offline data in dependencies database rather than using sqflite!! if any one knows any SQL or even nosql libraries for flutter that's is not complicated like sqflite please mention it!
ObjectBox DB is a highly performant lightweight embedded database for storing objects in Flutter with Dart.
Flutter apps can make use of the SQLite databases via the sqflite plugin available on pub.
SQLite is a relational database management system contained in a C library. SQLite is not a client-server database engine. sqflite the package provides us to implement SQLite into our flutter app. This package provides various methods to insert, update, edit, and fetch queries from the database.
Flutter provides many packages to work with the database. The most used and popular packages are: sqflite database: It allows to access and manipulate SQLite database. Firebase database: It will enable you to access and manipulate the cloud database.
This is a alternative, use a NoSql database.
Sembast
Yet another NoSQL persistent store database solution for single process io applications. The whole document based database resides in a single file and is loaded in memory when opened. Changes are appended right away to the file and the file is automatically compacted when needed.
Works on Dart VM and Flutter (no plugin needed, 100% Dart). Inspired from IndexedDB, DataStore, WebSql, NeDB, Lawndart...
Supports encryption using user-defined codec.
This is a link when you can get the library: https://pub.dev/packages/sembast
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With