Skip to content

Latest commit

 

History

History
 
 

example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

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.