5

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!

Mo Ok
  • 544
  • 6
  • 20

1 Answers1

5

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

Dindaka
  • 84
  • 2