flutter_realm 0.2.2 flutter_realm: ^0.2.2 copied to clipboard
Flutter plugin for Realm Database, a fast, easy to use, and open source alternative to SQLite and Core Data..
flutter_realm #
A Flutter plugin to use Realm Database.
Note: This plugin is still under development, and some APIs might not be available yet. Feedback and Pull Requests are most welcome!
Important #
Current implementation requires definition of schema in native Java and ObjC host apps.
Getting Started #
See the example
directory for a complete sample app using Realm Database.
Setup #
- Add flutter_realm as a dependency in your pubspec.yaml file.
- Add Realm 5.13.0 to your Android host app
- Add models files in native Java and ObjC host apps.
Features #
- ✅ Persistent and In-memory Realm
- ✅ deleteAllObjects
- ✅ Get allObjects by classname
- ✅ Create object
- ✅ Delete object
- ✅ Update object
- ✅ Query with
>
,>=
,<
,<=
,=
,!=
andcontains
operators on fields - ✅ Subscribe on queries and allObjects
- ✅ Fields with array of String and int
- ✅ Realm Sync
- ✅ JWT and Username&Password authorization