This example shows how to use ObjectBox Sync in a Flutter task list app written in Dart.
- See the
ObjectBox
class on how to configure a Sync client and basic box operations. - See the
Task
class on how to define a simple entity.
-
Open this directory in Android Studio with the Flutter plugin installed.
-
To run the app, from the toolbar select a device and once it is started click Run 'main.dart'.
The basic steps to get this example running (assuming you have a working Flutter setup):
# Set up project, get latest dependencies
flutter pub get
# Run the app in debug mode
flutter run