Awesome
<picture> <source srcset="https://github.com/realm/realm-dart/raw/main/media/logo-dark.svg" media="(prefers-color-scheme: dark)" alt="realm by MongoDB"> <img src="https://github.com/realm/realm-dart/raw/main/media/logo.svg" alt="realm by MongoDB"> </picture>Realm Dart Samples
This repo contains Flutter and Dart samples that demonstate the usage of Realm Flutter and Realm Dart SDKs.
To build a Flutter application with Realm, use the realm package and the realm_dart package for Dart applications.
The Realm Flutter and Dart SDK repository is located at https://github.com/realm/realm-dart
You may find the Quick Start - Flutter SDK helpful if you are using Realm for the first time. To learn more about using Realm with Atlas App Services, refer to the Atlas Device Sync and connecting to Atlas App Services documentation.
Samples list
-
Realm Dart sample
- Dart console app that demonstrates how to use a local Realm. -
Provider Shopper
- A Flutter sample app from Flutter sample repo modified to use a local Realm instead of an in-memory collection. -
Time Track
- Dart console application that shows how to subscribe for changes in a Realm collections. -
Dart Flexible Sync sample
- This sample demonstrates the usage of Realm Dart with Atlas Device Sync with Flexible Sync sync data to Atlas App Services. -
Flutter Flexible Sync sample
- A Flutter application using the Realm Flutter SDK, Atlas Device Sync with Flexible Sync, and Atlas App Services. -
Bundled realm sample
- A Flutter application with pre-initialized realm file that is shipped with the application.