realm_dart 20.0.1 copy "realm_dart: ^20.0.1" to clipboard
realm_dart: ^20.0.1 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
    
    copied to clipboard
  • 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
    
    copied to clipboard
  • 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
    
    copied to clipboard

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

  • Run the application

    dart run
    
    copied to clipboard
The "Dart" name and logo and the "Flutter" name and logo are trademarks owned by Google.
42
likes
130
points
49.6k
downloads

Publisher

verified publisherrealm.io

Weekly Downloads

2024.09.16 - 2025.03.31

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

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, build_cli_annotations, build_runner, cancellation_token, collection, crypto, decimal, ejson, ffi, http, json_annotation, logging, meta, package_config, path, pub_semver, pubspec_parse, rational, realm_common, realm_generator, tar, type_plus

More

Packages that depend on realm_dart