realm_dart 3.1.0 copy "realm_dart: ^3.1.0" to clipboard
realm_dart: ^3.1.0 copied to clipboard

The official Realm SDK for Dart. Realm is a mobile database - an alternative to SQLite and key-value stores.

example/README.md

Realm

License

A simple command-line application using Realm Dart SDK #

Setup #

Run these commands to setup the application

  • Get all dependencies

    dart pub get
    
  • Install the realm_dart package into the application. This downloads and copies the required native binaries to the app directory.

    dart run realm_dart install
    
  • To generate RealmObject classes with realm_dart use this command.

    On Dart use dart run realm_dart to run realm_dart package commands

    dart run realm_dart generate
    

    A new file bin/myapp.g.dart will be created next to the bin/myapp.dart.

  • Run the application

    dart run
    
The "Dart" name and logo and the "Flutter" name and logo are trademarks owned by Google.