├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── benchmarks.png ├── dependabot.yml ├── logo.png └── workflows │ ├── close-no-response.yml │ ├── code-analysis.yml │ └── test.yml ├── .gitignore ├── .gitlab-ci.yml ├── .gitlab └── merge_request_templates │ └── Default.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── benchmark ├── .gitignore ├── README.md ├── analysis_options.yaml ├── bin │ ├── basics.dart │ ├── native_pointers.dart │ ├── observers.dart │ ├── query.dart │ ├── read.dart │ └── write.dart ├── lib │ ├── benchmark.dart │ ├── model.dart │ └── objectbox-model.json ├── pubspec.yaml └── pubspec_overrides.yaml ├── dev-doc ├── add-new-property-type.md ├── packaging.md ├── updating-c-library.md ├── updating-dart-flutter-and-dependencies.md └── updating-examples.md ├── flutter_libs ├── .gitignore ├── .metadata ├── CHANGELOG.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── android │ ├── .gitignore │ ├── README.md │ ├── build.gradle │ ├── settings.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── kotlin │ │ └── io │ │ └── objectbox │ │ └── objectbox_flutter_libs │ │ └── ObjectboxFlutterLibsPlugin.kt ├── example │ └── README.md ├── ios │ ├── .gitignore │ ├── Assets │ │ └── .gitkeep │ ├── Classes │ │ └── ObjectboxFlutterLibsPlugin.swift │ └── objectbox_flutter_libs.podspec ├── lib │ └── objectbox_flutter_libs.dart ├── linux │ ├── CMakeLists.txt │ ├── include │ │ └── objectbox_flutter_libs │ │ │ └── objectbox_flutter_libs_plugin.h │ └── objectbox_flutter_libs_plugin.cc ├── macos │ ├── Classes │ │ └── ObjectboxFlutterLibsPlugin.swift │ └── objectbox_flutter_libs.podspec ├── pubspec.yaml └── windows │ ├── .gitignore │ ├── CMakeLists.txt │ ├── include │ └── objectbox_flutter_libs │ │ └── objectbox_flutter_libs_plugin.h │ └── objectbox_flutter_libs_plugin.cpp ├── generator ├── CHANGELOG.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── build.yaml ├── code-generation.md ├── example │ └── README.md ├── integration-tests │ ├── .gitignore │ ├── README.md │ ├── basics │ │ ├── .gitignore │ │ ├── 0.dart │ │ ├── 1.dart │ │ ├── lib │ │ │ ├── lib.dart │ │ │ └── other.dart │ │ └── pubspec.yaml │ ├── changes │ │ ├── .gitignore │ │ ├── 1-pre.dart │ │ ├── 1.dart │ │ ├── 2-pre.dart │ │ ├── 2.dart │ │ ├── 3-pre.dart │ │ ├── 3.dart │ │ ├── 4-pre.dart │ │ ├── 4.dart │ │ ├── 5-pre.dart │ │ ├── 5.dart │ │ ├── lib │ │ │ └── lib.dart │ │ └── pubspec.yaml │ ├── common.dart │ ├── config │ │ ├── .gitignore │ │ ├── 1.dart │ │ ├── lib │ │ │ ├── custom │ │ │ │ └── .keep │ │ │ └── lib.dart │ │ └── pubspec.yaml │ ├── final │ │ ├── .gitignore │ │ ├── 1.dart │ │ ├── lib │ │ │ └── lib.dart │ │ └── pubspec.yaml │ ├── getters │ │ ├── .gitignore │ │ ├── 1.dart │ │ ├── lib │ │ │ └── lib.dart │ │ └── pubspec.yaml │ ├── indexes │ │ ├── .gitignore │ │ ├── 1.dart │ │ ├── lib │ │ │ └── lib.dart │ │ └── pubspec.yaml │ ├── part-partof │ │ ├── .gitignore │ │ ├── 0.dart │ │ ├── 1.dart │ │ ├── build.yaml │ │ ├── lib │ │ │ ├── frozen.dart │ │ │ └── json.dart │ │ └── pubspec.yaml │ ├── relations │ │ ├── .gitignore │ │ ├── 0.dart │ │ ├── 1.dart │ │ ├── lib │ │ │ └── lib.dart │ │ └── pubspec.yaml │ └── test_env.dart ├── lib │ ├── assets │ │ ├── .gitignore │ │ └── .pubignore │ ├── objectbox_generator.dart │ └── src │ │ ├── analysis │ │ ├── analysis.dart │ │ └── build_properties.dart │ │ ├── builder_dirs.dart │ │ ├── code_builder.dart │ │ ├── code_chunks.dart │ │ ├── config.dart │ │ ├── entity_resolver.dart │ │ └── version.dart ├── pubspec.yaml ├── pubspec_overrides.yaml ├── test.sh └── test │ ├── .gitignore │ ├── analysis_test.dart │ ├── analysis_test_uid.json │ ├── code_builder_test.dart │ └── generator_test_env.dart ├── install.sh ├── objectbox ├── CHANGELOG.md ├── LICENSE ├── Makefile ├── README.md ├── analysis_options.yaml ├── build.yaml ├── example │ ├── README.md │ ├── dart-native │ │ └── vectorsearch_cities │ │ │ ├── .gitignore │ │ │ ├── README.md │ │ │ ├── analysis_options.yaml │ │ │ ├── bin │ │ │ └── vectorsearch_cities.dart │ │ │ ├── lib │ │ │ ├── model.dart │ │ │ ├── objectbox-model.json │ │ │ └── objectbox.dart │ │ │ └── pubspec.yaml │ └── flutter │ │ ├── event_management_tutorial │ │ ├── .gitignore │ │ ├── README.md │ │ ├── event_manager │ │ │ ├── README.md │ │ │ ├── analysis_options.yaml │ │ │ ├── android │ │ │ │ ├── .gitignore │ │ │ │ ├── app │ │ │ │ │ ├── build.gradle │ │ │ │ │ └── src │ │ │ │ │ │ ├── debug │ │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ │ ├── main │ │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ │ ├── kotlin │ │ │ │ │ │ │ └── com │ │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ │ └── event_manager_objectbox │ │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ │ └── res │ │ │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ │ └── values │ │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ └── profile │ │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── build.gradle │ │ │ │ ├── gradle.properties │ │ │ │ ├── gradle │ │ │ │ │ └── wrapper │ │ │ │ │ │ └── gradle-wrapper.properties │ │ │ │ └── settings.gradle │ │ │ ├── ios │ │ │ │ ├── .gitignore │ │ │ │ ├── Flutter │ │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ │ ├── Debug.xcconfig │ │ │ │ │ └── Release.xcconfig │ │ │ │ ├── Podfile │ │ │ │ ├── Podfile.lock │ │ │ │ ├── Runner.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── xcschemes │ │ │ │ │ │ └── Runner.xcscheme │ │ │ │ ├── Runner.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── Runner │ │ │ │ │ ├── AppDelegate.swift │ │ │ │ │ ├── Assets.xcassets │ │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ │ └── README.md │ │ │ │ │ ├── Base.lproj │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ │ ├── Info.plist │ │ │ │ │ └── Runner-Bridging-Header.h │ │ │ ├── lib │ │ │ │ ├── components │ │ │ │ │ ├── delete_menu.dart │ │ │ │ │ ├── event_add.dart │ │ │ │ │ ├── event_card.dart │ │ │ │ │ ├── event_list_view.dart │ │ │ │ │ ├── task_add.dart │ │ │ │ │ ├── task_card.dart │ │ │ │ │ ├── task_list_view.dart │ │ │ │ │ └── task_page.dart │ │ │ │ ├── main.dart │ │ │ │ ├── model.dart │ │ │ │ ├── objectbox-model.json │ │ │ │ └── objectbox.dart │ │ │ ├── linux │ │ │ │ ├── .gitignore │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── flutter │ │ │ │ │ ├── CMakeLists.txt │ │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ │ └── generated_plugins.cmake │ │ │ │ ├── main.cc │ │ │ │ ├── my_application.cc │ │ │ │ └── my_application.h │ │ │ ├── macos │ │ │ │ ├── .gitignore │ │ │ │ ├── Flutter │ │ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ │ │ ├── Flutter-Release.xcconfig │ │ │ │ │ └── GeneratedPluginRegistrant.swift │ │ │ │ ├── Podfile │ │ │ │ ├── Runner.xcodeproj │ │ │ │ │ ├── project.pbxproj │ │ │ │ │ ├── project.xcworkspace │ │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── xcschemes │ │ │ │ │ │ └── Runner.xcscheme │ │ │ │ ├── Runner.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ └── Runner │ │ │ │ │ ├── AppDelegate.swift │ │ │ │ │ ├── Assets.xcassets │ │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ │ └── app_icon_64.png │ │ │ │ │ ├── Base.lproj │ │ │ │ │ └── MainMenu.xib │ │ │ │ │ ├── Configs │ │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ │ ├── Debug.xcconfig │ │ │ │ │ ├── Release.xcconfig │ │ │ │ │ └── Warnings.xcconfig │ │ │ │ │ ├── DebugProfile.entitlements │ │ │ │ │ ├── Info.plist │ │ │ │ │ ├── MainFlutterWindow.swift │ │ │ │ │ └── Release.entitlements │ │ │ ├── pubspec.yaml │ │ │ └── windows │ │ │ │ ├── .gitignore │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── flutter │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ └── generated_plugins.cmake │ │ │ │ └── runner │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── Runner.rc │ │ │ │ ├── flutter_window.cpp │ │ │ │ ├── flutter_window.h │ │ │ │ ├── main.cpp │ │ │ │ ├── resource.h │ │ │ │ ├── resources │ │ │ │ └── app_icon.ico │ │ │ │ ├── runner.exe.manifest │ │ │ │ ├── utils.cpp │ │ │ │ ├── utils.h │ │ │ │ ├── win32_window.cpp │ │ │ │ └── win32_window.h │ │ └── many_to_many │ │ │ ├── .gitignore │ │ │ ├── .metadata │ │ │ ├── README.md │ │ │ ├── analysis_options.yaml │ │ │ ├── android │ │ │ ├── .gitignore │ │ │ ├── app │ │ │ │ ├── build.gradle │ │ │ │ └── src │ │ │ │ │ ├── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ ├── main │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── kotlin │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ └── many_to_many │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res │ │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ └── values │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── profile │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ └── gradle-wrapper.properties │ │ │ └── settings.gradle │ │ │ ├── ios │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ ├── Debug.xcconfig │ │ │ │ └── Release.xcconfig │ │ │ ├── Podfile │ │ │ ├── Podfile.lock │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ └── README.md │ │ │ │ ├── Base.lproj │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ └── Runner-Bridging-Header.h │ │ │ ├── lib │ │ │ ├── components │ │ │ │ ├── delete_menu.dart │ │ │ │ ├── event_add.dart │ │ │ │ ├── event_card.dart │ │ │ │ ├── event_list_view.dart │ │ │ │ ├── owner_select.dart │ │ │ │ ├── task_add.dart │ │ │ │ ├── task_card.dart │ │ │ │ ├── task_list_view.dart │ │ │ │ └── task_page.dart │ │ │ ├── main.dart │ │ │ ├── model.dart │ │ │ ├── objectbox-model.json │ │ │ └── objectbox.dart │ │ │ ├── linux │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ └── generated_plugins.cmake │ │ │ ├── main.cc │ │ │ ├── my_application.cc │ │ │ └── my_application.h │ │ │ ├── macos │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ │ ├── Flutter-Release.xcconfig │ │ │ │ └── GeneratedPluginRegistrant.swift │ │ │ ├── Podfile │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ └── app_icon_64.png │ │ │ │ ├── Base.lproj │ │ │ │ └── MainMenu.xib │ │ │ │ ├── Configs │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ └── Warnings.xcconfig │ │ │ │ ├── DebugProfile.entitlements │ │ │ │ ├── Info.plist │ │ │ │ ├── MainFlutterWindow.swift │ │ │ │ └── Release.entitlements │ │ │ ├── pubspec.yaml │ │ │ └── windows │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ │ └── runner │ │ │ ├── CMakeLists.txt │ │ │ ├── Runner.rc │ │ │ ├── flutter_window.cpp │ │ │ ├── flutter_window.h │ │ │ ├── main.cpp │ │ │ ├── resource.h │ │ │ ├── resources │ │ │ └── app_icon.ico │ │ │ ├── runner.exe.manifest │ │ │ ├── utils.cpp │ │ │ ├── utils.h │ │ │ ├── win32_window.cpp │ │ │ └── win32_window.h │ │ ├── objectbox_demo │ │ ├── .gitignore │ │ ├── .metadata │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── android │ │ │ ├── .gitignore │ │ │ ├── app │ │ │ │ ├── build.gradle │ │ │ │ └── src │ │ │ │ │ ├── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ ├── main │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── kotlin │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ └── objectbox_demo │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res │ │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ └── values │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── profile │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ └── gradle-wrapper.properties │ │ │ └── settings.gradle │ │ ├── ios │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ ├── Debug.xcconfig │ │ │ │ └── Release.xcconfig │ │ │ ├── Podfile │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ ├── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ │ └── README.md │ │ │ │ ├── Base.lproj │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ └── Runner-Bridging-Header.h │ │ │ └── RunnerTests │ │ │ │ └── RunnerTests.swift │ │ ├── lib │ │ │ ├── main.dart │ │ │ ├── model.dart │ │ │ ├── objectbox-model.json │ │ │ └── objectbox.dart │ │ ├── linux │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ └── generated_plugins.cmake │ │ │ ├── main.cc │ │ │ ├── my_application.cc │ │ │ └── my_application.h │ │ ├── macos │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ │ ├── Flutter-Release.xcconfig │ │ │ │ └── GeneratedPluginRegistrant.swift │ │ │ ├── Podfile │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ ├── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ │ └── app_icon_64.png │ │ │ │ ├── Base.lproj │ │ │ │ │ └── MainMenu.xib │ │ │ │ ├── Configs │ │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ │ ├── Debug.xcconfig │ │ │ │ │ ├── Release.xcconfig │ │ │ │ │ └── Warnings.xcconfig │ │ │ │ ├── DebugProfile.entitlements │ │ │ │ ├── Info.plist │ │ │ │ ├── MainFlutterWindow.swift │ │ │ │ └── Release.entitlements │ │ │ └── RunnerTests │ │ │ │ └── RunnerTests.swift │ │ ├── pubspec.yaml │ │ └── windows │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ │ └── runner │ │ │ ├── CMakeLists.txt │ │ │ ├── Runner.rc │ │ │ ├── flutter_window.cpp │ │ │ ├── flutter_window.h │ │ │ ├── main.cpp │ │ │ ├── resource.h │ │ │ ├── resources │ │ │ └── app_icon.ico │ │ │ ├── runner.exe.manifest │ │ │ ├── utils.cpp │ │ │ ├── utils.h │ │ │ ├── win32_window.cpp │ │ │ └── win32_window.h │ │ ├── objectbox_demo_relations │ │ ├── .gitignore │ │ ├── .metadata │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── android │ │ │ ├── .gitignore │ │ │ ├── app │ │ │ │ ├── build.gradle │ │ │ │ └── src │ │ │ │ │ ├── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ ├── main │ │ │ │ │ ├── AndroidManifest.xml │ │ │ │ │ ├── kotlin │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── example │ │ │ │ │ │ │ └── objectbox_demo_relations │ │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ │ └── res │ │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── drawable │ │ │ │ │ │ └── launch_background.xml │ │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ │ ├── values-night │ │ │ │ │ │ └── styles.xml │ │ │ │ │ │ └── values │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── profile │ │ │ │ │ └── AndroidManifest.xml │ │ │ ├── build.gradle │ │ │ ├── gradle.properties │ │ │ ├── gradle │ │ │ │ └── wrapper │ │ │ │ │ └── gradle-wrapper.properties │ │ │ └── settings.gradle │ │ ├── ios │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── AppFrameworkInfo.plist │ │ │ │ ├── Debug.xcconfig │ │ │ │ └── Release.xcconfig │ │ │ ├── Podfile │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ ├── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ │ └── README.md │ │ │ │ ├── Base.lproj │ │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ │ └── Main.storyboard │ │ │ │ ├── Info.plist │ │ │ │ └── Runner-Bridging-Header.h │ │ │ └── RunnerTests │ │ │ │ └── RunnerTests.swift │ │ ├── lib │ │ │ ├── main.dart │ │ │ ├── model.dart │ │ │ ├── objectbox-model.json │ │ │ ├── objectbox.dart │ │ │ ├── tag_elements.dart │ │ │ ├── task_elements.dart │ │ │ └── tasklist_elements.dart │ │ ├── linux │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── generated_plugin_registrant.cc │ │ │ │ ├── generated_plugin_registrant.h │ │ │ │ └── generated_plugins.cmake │ │ │ ├── main.cc │ │ │ ├── my_application.cc │ │ │ └── my_application.h │ │ ├── macos │ │ │ ├── .gitignore │ │ │ ├── Flutter │ │ │ │ ├── Flutter-Debug.xcconfig │ │ │ │ ├── Flutter-Release.xcconfig │ │ │ │ └── GeneratedPluginRegistrant.swift │ │ │ ├── Podfile │ │ │ ├── Runner.xcodeproj │ │ │ │ ├── project.pbxproj │ │ │ │ ├── project.xcworkspace │ │ │ │ │ └── xcshareddata │ │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ │ └── xcshareddata │ │ │ │ │ └── xcschemes │ │ │ │ │ └── Runner.xcscheme │ │ │ ├── Runner.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ ├── Runner │ │ │ │ ├── AppDelegate.swift │ │ │ │ ├── Assets.xcassets │ │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ │ ├── Contents.json │ │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ │ └── app_icon_64.png │ │ │ │ ├── Base.lproj │ │ │ │ │ └── MainMenu.xib │ │ │ │ ├── Configs │ │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ │ ├── Debug.xcconfig │ │ │ │ │ ├── Release.xcconfig │ │ │ │ │ └── Warnings.xcconfig │ │ │ │ ├── DebugProfile.entitlements │ │ │ │ ├── Info.plist │ │ │ │ ├── MainFlutterWindow.swift │ │ │ │ └── Release.entitlements │ │ │ └── RunnerTests │ │ │ │ └── RunnerTests.swift │ │ ├── pubspec.yaml │ │ ├── screenshot-app.png │ │ └── windows │ │ │ ├── .gitignore │ │ │ ├── CMakeLists.txt │ │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ │ └── runner │ │ │ ├── CMakeLists.txt │ │ │ ├── Runner.rc │ │ │ ├── flutter_window.cpp │ │ │ ├── flutter_window.h │ │ │ ├── main.cpp │ │ │ ├── resource.h │ │ │ ├── resources │ │ │ └── app_icon.ico │ │ │ ├── runner.exe.manifest │ │ │ ├── utils.cpp │ │ │ ├── utils.h │ │ │ ├── win32_window.cpp │ │ │ └── win32_window.h │ │ └── objectbox_demo_sync │ │ ├── .gitignore │ │ ├── .metadata │ │ ├── README.md │ │ ├── analysis_options.yaml │ │ ├── android │ │ ├── .gitignore │ │ ├── app │ │ │ ├── build.gradle │ │ │ └── src │ │ │ │ ├── debug │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── main │ │ │ │ ├── AndroidManifest.xml │ │ │ │ ├── kotlin │ │ │ │ │ └── com │ │ │ │ │ │ └── example │ │ │ │ │ │ └── objectbox_demo_sync │ │ │ │ │ │ └── MainActivity.kt │ │ │ │ └── res │ │ │ │ │ ├── drawable-v21 │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── drawable │ │ │ │ │ └── launch_background.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── mipmap-xxxhdpi │ │ │ │ │ └── ic_launcher.png │ │ │ │ │ ├── values-night │ │ │ │ │ └── styles.xml │ │ │ │ │ └── values │ │ │ │ │ └── styles.xml │ │ │ │ └── profile │ │ │ │ └── AndroidManifest.xml │ │ ├── build.gradle │ │ ├── gradle.properties │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ └── gradle-wrapper.properties │ │ └── settings.gradle │ │ ├── ios │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── AppFrameworkInfo.plist │ │ │ ├── Debug.xcconfig │ │ │ └── Release.xcconfig │ │ ├── Podfile │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ │ └── WorkspaceSettings.xcsettings │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ ├── IDEWorkspaceChecks.plist │ │ │ │ └── WorkspaceSettings.xcsettings │ │ ├── Runner │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── Icon-App-1024x1024@1x.png │ │ │ │ │ ├── Icon-App-20x20@1x.png │ │ │ │ │ ├── Icon-App-20x20@2x.png │ │ │ │ │ ├── Icon-App-20x20@3x.png │ │ │ │ │ ├── Icon-App-29x29@1x.png │ │ │ │ │ ├── Icon-App-29x29@2x.png │ │ │ │ │ ├── Icon-App-29x29@3x.png │ │ │ │ │ ├── Icon-App-40x40@1x.png │ │ │ │ │ ├── Icon-App-40x40@2x.png │ │ │ │ │ ├── Icon-App-40x40@3x.png │ │ │ │ │ ├── Icon-App-60x60@2x.png │ │ │ │ │ ├── Icon-App-60x60@3x.png │ │ │ │ │ ├── Icon-App-76x76@1x.png │ │ │ │ │ ├── Icon-App-76x76@2x.png │ │ │ │ │ └── Icon-App-83.5x83.5@2x.png │ │ │ │ └── LaunchImage.imageset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── LaunchImage.png │ │ │ │ │ ├── LaunchImage@2x.png │ │ │ │ │ ├── LaunchImage@3x.png │ │ │ │ │ └── README.md │ │ │ ├── Base.lproj │ │ │ │ ├── LaunchScreen.storyboard │ │ │ │ └── Main.storyboard │ │ │ ├── Info.plist │ │ │ └── Runner-Bridging-Header.h │ │ └── RunnerTests │ │ │ └── RunnerTests.swift │ │ ├── lib │ │ ├── main.dart │ │ ├── model.dart │ │ ├── objectbox-model.json │ │ └── objectbox.dart │ │ ├── linux │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter │ │ │ ├── CMakeLists.txt │ │ │ ├── generated_plugin_registrant.cc │ │ │ ├── generated_plugin_registrant.h │ │ │ └── generated_plugins.cmake │ │ ├── main.cc │ │ ├── my_application.cc │ │ └── my_application.h │ │ ├── macos │ │ ├── .gitignore │ │ ├── Flutter │ │ │ ├── Flutter-Debug.xcconfig │ │ │ ├── Flutter-Release.xcconfig │ │ │ └── GeneratedPluginRegistrant.swift │ │ ├── Podfile │ │ ├── Runner.xcodeproj │ │ │ ├── project.pbxproj │ │ │ ├── project.xcworkspace │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── xcshareddata │ │ │ │ └── xcschemes │ │ │ │ └── Runner.xcscheme │ │ ├── Runner.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ ├── Runner │ │ │ ├── AppDelegate.swift │ │ │ ├── Assets.xcassets │ │ │ │ └── AppIcon.appiconset │ │ │ │ │ ├── Contents.json │ │ │ │ │ ├── app_icon_1024.png │ │ │ │ │ ├── app_icon_128.png │ │ │ │ │ ├── app_icon_16.png │ │ │ │ │ ├── app_icon_256.png │ │ │ │ │ ├── app_icon_32.png │ │ │ │ │ ├── app_icon_512.png │ │ │ │ │ └── app_icon_64.png │ │ │ ├── Base.lproj │ │ │ │ └── MainMenu.xib │ │ │ ├── Configs │ │ │ │ ├── AppInfo.xcconfig │ │ │ │ ├── Debug.xcconfig │ │ │ │ ├── Release.xcconfig │ │ │ │ └── Warnings.xcconfig │ │ │ ├── DebugProfile.entitlements │ │ │ ├── Info.plist │ │ │ ├── MainFlutterWindow.swift │ │ │ └── Release.entitlements │ │ └── RunnerTests │ │ │ └── RunnerTests.swift │ │ ├── pubspec.yaml │ │ └── windows │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── flutter │ │ ├── CMakeLists.txt │ │ ├── generated_plugin_registrant.cc │ │ ├── generated_plugin_registrant.h │ │ └── generated_plugins.cmake │ │ └── runner │ │ ├── CMakeLists.txt │ │ ├── Runner.rc │ │ ├── flutter_window.cpp │ │ ├── flutter_window.h │ │ ├── main.cpp │ │ ├── resource.h │ │ ├── resources │ │ └── app_icon.ico │ │ ├── runner.exe.manifest │ │ ├── utils.cpp │ │ ├── utils.h │ │ ├── win32_window.cpp │ │ └── win32_window.h ├── lib │ ├── internal.dart │ ├── objectbox.dart │ └── src │ │ ├── admin.dart │ │ ├── annotations.dart │ │ ├── box.dart │ │ ├── common.dart │ │ ├── model.dart │ │ ├── modelinfo │ │ ├── entity_definition.dart │ │ ├── enums.dart │ │ ├── iduid.dart │ │ ├── index.dart │ │ ├── model_definition.dart │ │ ├── model_hnsw_params.dart │ │ ├── modelbacklink.dart │ │ ├── modelentity.dart │ │ ├── modelinfo.dart │ │ ├── modelproperty.dart │ │ └── modelrelation.dart │ │ ├── native │ │ ├── admin.dart │ │ ├── bindings │ │ │ ├── bindings.dart │ │ │ ├── dart_api.h │ │ │ ├── data_visitor.dart │ │ │ ├── flatbuffers.dart │ │ │ ├── flatbuffers_readers.dart │ │ │ ├── helpers.dart │ │ │ ├── nativemem.dart │ │ │ ├── objectbox-dart.h │ │ │ ├── objectbox-sync.h │ │ │ ├── objectbox.h │ │ │ └── objectbox_c.dart │ │ ├── box.dart │ │ ├── model.dart │ │ ├── observable.dart │ │ ├── query │ │ │ ├── builder.dart │ │ │ ├── params.dart │ │ │ ├── property.dart │ │ │ ├── query.dart │ │ │ └── vector_search_results.dart │ │ ├── store.dart │ │ ├── store_config.dart │ │ ├── sync.dart │ │ ├── transaction.dart │ │ └── version.dart │ │ ├── query.dart │ │ ├── relations │ │ ├── info.dart │ │ ├── to_many.dart │ │ └── to_one.dart │ │ ├── store.dart │ │ ├── sync.dart │ │ ├── transaction.dart │ │ ├── util.dart │ │ └── web │ │ ├── admin.dart │ │ ├── box.dart │ │ ├── model.dart │ │ ├── observable.dart │ │ ├── query.dart │ │ ├── store.dart │ │ ├── sync.dart │ │ └── transaction.dart ├── pubspec.yaml └── tool │ ├── common.sh │ ├── coverage.sh │ └── integration-test.sh ├── objectbox_test ├── Makefile ├── README.md ├── analysis_options.yaml ├── pubspec.yaml └── test │ ├── admin_test.dart │ ├── annotations_test.dart │ ├── basics_test.dart │ ├── box_test.dart │ ├── boxnn_test.dart │ ├── entity.dart │ ├── entity2.dart │ ├── flatbuffers_test.dart │ ├── hnsw_test.dart │ ├── isolates_test.dart │ ├── objectbox-model.json │ ├── observer_test.dart │ ├── query_property_test.dart │ ├── query_scalar_vector_test.dart │ ├── query_test.dart │ ├── relations_test.dart │ ├── store_test.dart │ ├── stream_test.dart │ ├── sync_test.dart │ └── test_env.dart ├── sync_flutter_libs ├── .gitignore ├── .metadata ├── CHANGELOG.md ├── LICENSE ├── README.md ├── analysis_options.yaml ├── android │ ├── .gitignore │ ├── README.md │ ├── build.gradle │ ├── settings.gradle │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── kotlin │ │ └── io │ │ └── objectbox │ │ └── objectbox_sync_flutter_libs │ │ └── ObjectboxSyncFlutterLibsPlugin.kt ├── example │ └── README.md ├── ios │ ├── .gitignore │ ├── Assets │ │ └── .gitkeep │ ├── Classes │ │ └── ObjectboxSyncFlutterLibsPlugin.swift │ └── objectbox_sync_flutter_libs.podspec ├── lib │ └── objectbox_sync_flutter_libs.dart ├── linux │ ├── CMakeLists.txt │ ├── include │ │ └── objectbox_sync_flutter_libs │ │ │ └── objectbox_sync_flutter_libs_plugin.h │ └── objectbox_sync_flutter_libs_plugin.cc ├── macos │ ├── Classes │ │ └── ObjectboxSyncFlutterLibsPlugin.swift │ └── objectbox_sync_flutter_libs.podspec ├── pubspec.yaml └── windows │ ├── .gitignore │ ├── CMakeLists.txt │ ├── include │ └── objectbox_sync_flutter_libs │ │ └── objectbox_sync_flutter_libs_plugin.h │ └── objectbox_sync_flutter_libs_plugin.cpp └── tool ├── apt-install.sh ├── common.sh ├── init.sh ├── plugin-update.sh ├── pub.sh ├── pubdev-links.sh ├── publish.sh ├── release-test.sh ├── set-android-version.sh ├── set-c-version.sh ├── set-swift-version.sh ├── set-version.sh ├── update-c-binding.sh ├── yq_linux_amd64 └── yq_windows_amd64.exe /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: false 2 | contact_links: 3 | - name: Question 4 | url: https://stackoverflow.com/questions/tagged/objectbox 5 | about: Ask at Stack Overflow - how to do something, or why it isn't working. 6 | -------------------------------------------------------------------------------- /.github/benchmarks.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/.github/benchmarks.png -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- 1 | # Please see the documentation for all configuration options: 2 | # https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates 3 | 4 | version: 2 5 | updates: 6 | - package-ecosystem: "github-actions" 7 | directory: "/" 8 | schedule: 9 | interval: "weekly" 10 | -------------------------------------------------------------------------------- /.github/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/.github/logo.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | **/.dart_tool/ 2 | **/.packages 3 | **/.pub/ 4 | **/pubspec.lock 5 | **/build/ 6 | 7 | .DS_Store 8 | .idea/ 9 | .vscode/ 10 | *.iml 11 | 12 | # ObjectBox install.sh (or rather download.sh) script 13 | # - download location 14 | download/ 15 | # - installed library files 16 | libobjectbox.dylib 17 | libobjectbox.so 18 | objectbox.dll 19 | objectbox.lib 20 | 21 | # Dart generated files: would commit for a user project, but not here to test code generation 22 | **/*.g.dart 23 | 24 | # backup created by publish.sh - ignore to avoid publishing 25 | **/pubspec.yaml.original 26 | -------------------------------------------------------------------------------- /benchmark/.gitignore: -------------------------------------------------------------------------------- 1 | # Files and directories created by pub 2 | .dart_tool/ 3 | .packages 4 | 5 | # Conventional directory for build outputs 6 | build/ 7 | 8 | # Directory created by dartdoc 9 | doc/api/ 10 | 11 | # ObjectBox DB files 12 | **.mdb -------------------------------------------------------------------------------- /benchmark/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | # https://dart.dev/guides/language/analysis-options 2 | include: package:lints/recommended.yaml 3 | -------------------------------------------------------------------------------- /benchmark/lib/model.dart: -------------------------------------------------------------------------------- 1 | import 'package:objectbox/objectbox.dart'; 2 | 3 | @Entity() 4 | class TestEntity { 5 | @Id(assignable: true) 6 | int id; 7 | 8 | String tString; 9 | 10 | @Property(type: PropertyType.int) 11 | int tInt; // 32-bit 12 | 13 | int tLong; // 64-bit 14 | 15 | double tDouble; 16 | 17 | TestEntity(this.id, this.tString, this.tInt, this.tLong, this.tDouble); 18 | } 19 | -------------------------------------------------------------------------------- /benchmark/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_benchmark 2 | description: Simple ObjectBox-Dart performance benchmark 3 | publish_to: none 4 | 5 | environment: 6 | sdk: '>=2.14.0 <4.0.0' 7 | 8 | dependencies: 9 | objectbox: any 10 | meta: ^1.3.0 11 | ffi: ^2.0.1 12 | 13 | dev_dependencies: 14 | # lints 2.1.0+ requires Dart 3, but CI still tests with Dart 2, but also need 3.0.0+ to match pana 15 | lints: '>=2.0.1 <4.0.0' 16 | objectbox_generator: any 17 | build_runner: any 18 | -------------------------------------------------------------------------------- /benchmark/pubspec_overrides.yaml: -------------------------------------------------------------------------------- 1 | # This is only used for get and upgrade, but ignored by publish https://github.com/dart-lang/pub/pull/3215 2 | dependency_overrides: 3 | objectbox: 4 | path: ../objectbox 5 | objectbox_generator: 6 | path: ../generator 7 | -------------------------------------------------------------------------------- /flutter_libs/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | See [ObjectBox changelog](https://pub.dev/packages/objectbox/changelog). -------------------------------------------------------------------------------- /flutter_libs/README.md: -------------------------------------------------------------------------------- 1 | # ObjectBox libraries for Flutter 2 | 3 | [![pub package](https://img.shields.io/pub/v/objectbox_flutter_libs.svg)](https://pub.dev/packages/objectbox_flutter_libs) 4 | 5 | This package provides the native ObjectBox library as a Flutter plugin for supported platforms. 6 | You should add this package as a dependency when using [ObjectBox](https://pub.dev/packages/objectbox) with Flutter. 7 | 8 | See package [objectbox](https://pub.dev/packages/objectbox) for more details and information how to use it. 9 | 10 | -------------------------------------------------------------------------------- /flutter_libs/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:flutter_lints/flutter.yaml 2 | 3 | # Additional information about this file can be found at 4 | # https://dart.dev/guides/language/analysis-options 5 | -------------------------------------------------------------------------------- /flutter_libs/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .cxx 10 | -------------------------------------------------------------------------------- /flutter_libs/android/README.md: -------------------------------------------------------------------------------- 1 | Flutter plugin for Android reduced to the minimum that works for library inclusion by client apps. 2 | See [packaging.md](/dev-doc/packaging.md). 3 | 4 | Notably, the Android package depends on `objectbox-android`, the native ObjectBox library 5 | distribution for Android. -------------------------------------------------------------------------------- /flutter_libs/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'objectbox_flutter_libs' 2 | -------------------------------------------------------------------------------- /flutter_libs/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /flutter_libs/example/README.md: -------------------------------------------------------------------------------- 1 | See [ObjectBox](https://pub.dev/packages/objectbox). -------------------------------------------------------------------------------- /flutter_libs/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vagrant/ 3 | .sconsign.dblite 4 | .svn/ 5 | 6 | .DS_Store 7 | *.swp 8 | profile 9 | 10 | DerivedData/ 11 | build/ 12 | GeneratedPluginRegistrant.h 13 | GeneratedPluginRegistrant.m 14 | 15 | .generated/ 16 | 17 | *.pbxuser 18 | *.mode1v3 19 | *.mode2v3 20 | *.perspectivev3 21 | 22 | !default.pbxuser 23 | !default.mode1v3 24 | !default.mode2v3 25 | !default.perspectivev3 26 | 27 | xcuserdata 28 | 29 | *.moved-aside 30 | 31 | *.pyc 32 | *sync/ 33 | Icon? 34 | .tags* 35 | 36 | /Flutter/Generated.xcconfig 37 | /Flutter/ephemeral/ 38 | /Flutter/flutter_export_environment.sh -------------------------------------------------------------------------------- /flutter_libs/ios/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/flutter_libs/ios/Assets/.gitkeep -------------------------------------------------------------------------------- /flutter_libs/ios/Classes/ObjectboxFlutterLibsPlugin.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | 4 | public class ObjectboxFlutterLibsPlugin: NSObject, FlutterPlugin { 5 | public static func register(with registrar: FlutterPluginRegistrar) { 6 | // Not using method channels, so not registering one. 7 | // Note: if ever implementing this, may have add workaround for https://github.com/flutter/flutter/issues/67624 8 | } 9 | 10 | public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { 11 | result(nil) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /flutter_libs/macos/Classes/ObjectboxFlutterLibsPlugin.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | public class ObjectboxFlutterLibsPlugin: NSObject, FlutterPlugin { 5 | public static func register(with registrar: FlutterPluginRegistrar) { 6 | // Not using method channels, so not registering one. 7 | // Note: if ever implementing this, may have to add workaround for https://github.com/flutter/flutter/issues/67624 8 | } 9 | 10 | public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { 11 | result(nil) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /flutter_libs/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /generator/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | See [ObjectBox changelog](https://pub.dev/packages/objectbox/changelog). -------------------------------------------------------------------------------- /generator/README.md: -------------------------------------------------------------------------------- 1 | # ObjectBox generator for Dart/Flutter 2 | 3 | [![pub package](https://img.shields.io/pub/v/objectbox_generator.svg)](https://pub.dev/packages/objectbox_generator) 4 | 5 | This package provides code generation for the [ObjectBox Flutter Database](https://pub.dev/packages/objectbox). 6 | ObjectBox is a high-performance Flutter database for fast local Dart object persistence, fully ACID-compliant, with a highly efficient out-of-the-box Data Sync. 7 | 8 | See package [objectbox](https://pub.dev/packages/objectbox) for more details and information how to use it. 9 | 10 | -------------------------------------------------------------------------------- /generator/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | 3 | analyzer: 4 | exclude: 5 | - integration-tests/** 6 | -------------------------------------------------------------------------------- /generator/example/README.md: -------------------------------------------------------------------------------- 1 | See [objectbox example](https://pub.dev/packages/objectbox/example). -------------------------------------------------------------------------------- /generator/integration-tests/.gitignore: -------------------------------------------------------------------------------- 1 | # Do not remove native library to allow running with non-globally installed version. 2 | !objectbox.dll 3 | !objectbox.lib 4 | !libobjectbox.* -------------------------------------------------------------------------------- /generator/integration-tests/basics/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json -------------------------------------------------------------------------------- /generator/integration-tests/basics/0.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:test/test.dart'; 3 | import '../test_env.dart'; 4 | 5 | void main() { 6 | // this is actually a meta test - that `git clean -fX` is run 7 | test('project must be clean before generating the code', () { 8 | expect(TestEnv.dir.existsSync(), false); 9 | expect(File('lib/objectbox.g.dart').existsSync(), false); 10 | expect(File('lib/objectbox-model.json').existsSync(), false); 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /generator/integration-tests/basics/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/integration-tests/changes/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json 3 | lib/entities.dart 4 | objectbox.* 5 | # Do not remove native library to allow running with non-globally installed version. 6 | !objectbox.dll 7 | !objectbox.lib 8 | !libobjectbox.* 9 | -------------------------------------------------------------------------------- /generator/integration-tests/changes/1-pre.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | void main() { 4 | File('lib/entities.dart').writeAsStringSync(''' 5 | import 'package:objectbox/objectbox.dart'; 6 | 7 | @Entity() 8 | class A { 9 | int? id; 10 | 11 | String? text1; 12 | 13 | A(); 14 | } 15 | '''); 16 | } 17 | -------------------------------------------------------------------------------- /generator/integration-tests/changes/5-pre.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | 3 | void main() { 4 | // Goals: 5 | // * remove a property 6 | // * remove a to-one relation 7 | // * remove a to-many relation 8 | // * remove an entity 9 | 10 | File('lib/entities.dart').writeAsStringSync(''' 11 | import 'package:objectbox/objectbox.dart'; 12 | 13 | @Entity() 14 | class A { 15 | int? id; 16 | 17 | A(); 18 | } 19 | 20 | @Entity() 21 | class A1 { 22 | int? id; 23 | 24 | A1(); 25 | } 26 | '''); 27 | } 28 | -------------------------------------------------------------------------------- /generator/integration-tests/changes/lib/lib.dart: -------------------------------------------------------------------------------- 1 | export 'entities.dart'; 2 | -------------------------------------------------------------------------------- /generator/integration-tests/changes/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/integration-tests/config/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json 3 | objectbox.* 4 | testdata 5 | 6 | # Do not remove native library to allow running with non-globally installed version. 7 | !objectbox.dll 8 | !objectbox.lib 9 | !libobjectbox.* 10 | -------------------------------------------------------------------------------- /generator/integration-tests/config/lib/custom/.keep: -------------------------------------------------------------------------------- 1 | This file just exists so its folder is created by git. -------------------------------------------------------------------------------- /generator/integration-tests/config/lib/lib.dart: -------------------------------------------------------------------------------- 1 | import 'dart:typed_data'; 2 | 3 | import 'package:objectbox/objectbox.dart'; 4 | 5 | import 'custom/objectbox.g.dart'; 6 | 7 | @Entity() 8 | class A { 9 | int? id; 10 | String? text; 11 | 12 | A(); 13 | } 14 | -------------------------------------------------------------------------------- /generator/integration-tests/config/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ 22 | 23 | 24 | objectbox: 25 | output_dir: custom 26 | # output_dir: 27 | # lib: custom 28 | # test: other 29 | 30 | -------------------------------------------------------------------------------- /generator/integration-tests/final/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json 3 | testdata 4 | objectbox.* 5 | # Do not remove native library to allow running with non-globally installed version. 6 | !objectbox.dll 7 | !objectbox.lib 8 | !libobjectbox.* 9 | -------------------------------------------------------------------------------- /generator/integration-tests/final/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/integration-tests/getters/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json 3 | testdata 4 | objectbox.* 5 | # Do not remove native library to allow running with non-globally installed version. 6 | !objectbox.dll 7 | !objectbox.lib 8 | !libobjectbox.* 9 | -------------------------------------------------------------------------------- /generator/integration-tests/getters/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.18.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/integration-tests/indexes/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json -------------------------------------------------------------------------------- /generator/integration-tests/indexes/lib/lib.dart: -------------------------------------------------------------------------------- 1 | import 'package:objectbox/objectbox.dart'; 2 | 3 | @Entity() 4 | class A { 5 | int? id; 6 | 7 | @Index() 8 | int? indexed; 9 | 10 | @Unique() 11 | String? unique; 12 | 13 | @Unique() 14 | @Index(type: IndexType.value) 15 | String? uniqueValue; 16 | 17 | @Unique() 18 | @Index(type: IndexType.hash) 19 | String? uniqueHash; 20 | 21 | @Unique() 22 | @Index(type: IndexType.hash64) 23 | String? uniqueHash64; 24 | 25 | @Unique() 26 | int? uid; 27 | 28 | A(); 29 | } 30 | -------------------------------------------------------------------------------- /generator/integration-tests/indexes/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/integration-tests/part-partof/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json 3 | *.freezed.dart -------------------------------------------------------------------------------- /generator/integration-tests/part-partof/0.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:test/test.dart'; 3 | import '../test_env.dart'; 4 | 5 | void main() { 6 | // this is actually a meta test - that `git clean -fX` is run 7 | test('project must be clean before generating the code', () { 8 | expect(TestEnv.dir.existsSync(), false); 9 | expect(File('lib/objectbox.g.dart').existsSync(), false); 10 | expect(File('lib/objectbox-model.json').existsSync(), false); 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /generator/integration-tests/part-partof/build.yaml: -------------------------------------------------------------------------------- 1 | global_options: 2 | # Make json_serializable builder run before ObjectBox builder 3 | json_serializable:json_serializable: 4 | runs_before: 5 | - objectbox_generator:resolver 6 | # Make freezed builder run before ObjectBox builder 7 | freezed:freezed: 8 | runs_before: 9 | - objectbox_generator:resolver 10 | -------------------------------------------------------------------------------- /generator/integration-tests/relations/.gitignore: -------------------------------------------------------------------------------- 1 | # start with an empty project, without a objectbox-model.json 2 | objectbox-model.json -------------------------------------------------------------------------------- /generator/integration-tests/relations/0.dart: -------------------------------------------------------------------------------- 1 | import 'dart:io'; 2 | import 'package:test/test.dart'; 3 | import '../test_env.dart'; 4 | 5 | void main() { 6 | // this is actually a meta test - that `git clean -fX` is run 7 | test('project must be clean before generating the code', () { 8 | expect(TestEnv.dir.existsSync(), false); 9 | expect(File('lib/objectbox.g.dart').existsSync(), false); 10 | expect(File('lib/objectbox-model.json').existsSync(), false); 11 | }); 12 | } 13 | -------------------------------------------------------------------------------- /generator/integration-tests/relations/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: objectbox_generator_test 2 | 3 | environment: 4 | sdk: '>=2.12.0 <4.0.0' 5 | 6 | dependencies: 7 | objectbox: any 8 | 9 | dev_dependencies: 10 | objectbox_generator: any 11 | test: any 12 | build_runner: any 13 | build_test: any 14 | io: any 15 | path: any 16 | 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../objectbox 20 | objectbox_generator: 21 | path: ../../ -------------------------------------------------------------------------------- /generator/lib/assets/.gitignore: -------------------------------------------------------------------------------- 1 | # See analysis_test.dart on how to create the file. 2 | # Note: while not added to Git, this file is published to pub.dev: see .pubignore. 3 | analysis-token.txt 4 | -------------------------------------------------------------------------------- /generator/lib/assets/.pubignore: -------------------------------------------------------------------------------- 1 | # Override .gitignore of this directory for pub.dev publishing. 2 | 3 | # Add no rules to publish analysis-token.txt to pub.dev so analysis works on releases. 4 | -------------------------------------------------------------------------------- /generator/lib/src/version.dart: -------------------------------------------------------------------------------- 1 | /// See [Version.current]. 2 | class Version { 3 | /// Version of this package. 4 | /// 5 | /// This string is updated by the /tool/set-version.sh script 6 | /// as part of the release process. 7 | static const String current = "4.3.0"; 8 | } 9 | -------------------------------------------------------------------------------- /generator/pubspec_overrides.yaml: -------------------------------------------------------------------------------- 1 | # This is only used for get and upgrade, but ignored by publish https://github.com/dart-lang/pub/pull/3215 2 | dependency_overrides: 3 | objectbox: 4 | path: ../objectbox 5 | -------------------------------------------------------------------------------- /generator/test/.gitignore: -------------------------------------------------------------------------------- 1 | # Created by analysis_test.dart 2 | analysis_test_uid_new.json 3 | -------------------------------------------------------------------------------- /generator/test/analysis_test_uid.json: -------------------------------------------------------------------------------- 1 | { 2 | "uid": "test-uid", 3 | "lastSent": 123456789 4 | } -------------------------------------------------------------------------------- /install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -eu 3 | 4 | # https://github.com/objectbox/objectbox-c/releases 5 | # It's important that the generated dart bindings and the c-api library version match. Dart won't error on C function 6 | # signature mismatch, leading to obscure memory bugs. 7 | # For how to upgrade the version see dev-doc/updating-c-library.md 8 | cLibVersion=4.3.0 9 | os=$(uname) 10 | cLibArgs="$*" 11 | 12 | bash <(curl -s https://raw.githubusercontent.com/objectbox/objectbox-c/main/download.sh) ${cLibArgs} ${cLibVersion} 13 | -------------------------------------------------------------------------------- /objectbox/build.yaml: -------------------------------------------------------------------------------- 1 | # Workaround for https://github.com/dart-lang/build/issues/2916#issuecomment-730555138 2 | targets: 3 | $default: 4 | sources: 5 | exclude: 6 | - example/** -------------------------------------------------------------------------------- /objectbox/example/dart-native/vectorsearch_cities/.gitignore: -------------------------------------------------------------------------------- 1 | # https://dart.dev/guides/libraries/private-files 2 | # Created by `dart pub` 3 | .dart_tool/ 4 | -------------------------------------------------------------------------------- /objectbox/example/dart-native/vectorsearch_cities/README.md: -------------------------------------------------------------------------------- 1 | # On-Device Vector Search Example: Cities 2 | 3 | This is a simple example application to demonstrate the Vector Search feature of ObjectBox. 4 | It searches for nearest neighbors of a city. 5 | 6 | ## Docs 7 | - [Getting started with ObjectBox](https://docs.objectbox.io/getting-started) 8 | - [On-Device ANN Vector Search](https://docs.objectbox.io/on-device-ann-vector-search) 9 | -------------------------------------------------------------------------------- /objectbox/example/dart-native/vectorsearch_cities/lib/model.dart: -------------------------------------------------------------------------------- 1 | import 'package:objectbox/objectbox.dart'; 2 | 3 | @Entity() 4 | class City { 5 | @Id() 6 | int id = 0; 7 | 8 | String? name; 9 | 10 | @HnswIndex(dimensions: 2, distanceType: VectorDistanceType.geo) 11 | @Property(type: PropertyType.floatVector) 12 | List? location; 13 | 14 | City(this.name, this.location); 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/dart-native/vectorsearch_cities/pubspec.yaml: -------------------------------------------------------------------------------- 1 | name: vectorsearch_cities 2 | description: Vector Search Example with Cities. 3 | version: 1.0.0 4 | 5 | environment: 6 | sdk: ^2.18.6 7 | 8 | dependencies: 9 | objectbox: ^4.3.0 10 | 11 | dev_dependencies: 12 | build_runner: ^2.4.9 13 | lints: ^3.0.0 14 | objectbox_generator: any 15 | 16 | # Note: these overrides are only for ObjectBox internal development, don't use them in your app. 17 | dependency_overrides: 18 | objectbox: 19 | path: ../../../../objectbox 20 | objectbox_generator: 21 | path: ../../../../generator 22 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/README.md: -------------------------------------------------------------------------------- 1 | # Event Manager Base Version 2 | 3 | This is the project we built in the first half of the tutorial. It includes the basics of modeling 4 | relationships with ObjectBox, queries as well as setting up streams to get the latest data from the 5 | database. 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/kotlin/com/example/event_manager_objectbox/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.event_manager_objectbox 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/lib/components/delete_menu.dart: -------------------------------------------------------------------------------- 1 | class MenuElement { 2 | final String? text; 3 | 4 | const MenuElement({required this.text}); 5 | } 6 | 7 | class MenuItems { 8 | static const List itemsFirst = [itemDelete]; 9 | static const itemDelete = MenuElement(text: "Delete"); 10 | } 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import objectbox_flutter_libs 9 | import path_provider_foundation 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | ObjectboxFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxFlutterLibsPlugin")) 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void RegisterPlugins(flutter::PluginRegistry* registry) { 12 | ObjectboxFlutterLibsPluginRegisterWithRegistrar( 13 | registry->GetRegistrarForPlugin("ObjectboxFlutterLibsPlugin")); 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/event_manager/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/event_manager/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/README.md: -------------------------------------------------------------------------------- 1 | # Event Manager Many-to-Many Version 2 | 3 | This project is an extension of the event manager folder. In addition to all of the features 4 | included in that project, we cover many-to-many relationships and update the task manager section to 5 | reflect the new changes. 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | /.gradle 3 | /captures/ 4 | /gradlew 5 | /gradlew.bat 6 | /local.properties 7 | GeneratedPluginRegistrant.java 8 | 9 | # Remember to never publicly share your keystore. 10 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 11 | key.properties 12 | **/*.keystore 13 | **/*.jks 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/kotlin/com/example/many_to_many/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.many_to_many 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx1536M 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Fri Jun 23 08:50:38 CEST 2017 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-all.zip 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/android/settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | 3 | def localPropertiesFile = new File(rootProject.projectDir, "local.properties") 4 | def properties = new Properties() 5 | 6 | assert localPropertiesFile.exists() 7 | localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } 8 | 9 | def flutterSdkPath = properties.getProperty("flutter.sdk") 10 | assert flutterSdkPath != null, "flutter.sdk not set in local.properties" 11 | apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" 12 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/lib/components/delete_menu.dart: -------------------------------------------------------------------------------- 1 | class DeleteMenu { 2 | final String? text; 3 | 4 | const DeleteMenu({required this.text}); 5 | } 6 | 7 | class MenuItems { 8 | static const List itemsFirst = [itemDelete]; 9 | 10 | static const itemDelete = DeleteMenu(text: "Delete"); 11 | } 12 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import objectbox_flutter_libs 9 | import path_provider_foundation 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | ObjectboxFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxFlutterLibsPlugin")) 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController.init() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void RegisterPlugins(flutter::PluginRegistry* registry) { 12 | ObjectboxFlutterLibsPluginRegisterWithRegistrar( 13 | registry->GetRegistrarForPlugin("ObjectboxFlutterLibsPlugin")); 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/event_management_tutorial/many_to_many/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/event_management_tutorial/many_to_many/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/README.md: -------------------------------------------------------------------------------- 1 | # objectbox_demo 2 | 3 | ## Getting Started 4 | 5 | This project contains the Flutter version of the main example from the [objectbox-examples](https://github.com/objectbox/objectbox-examples) repository. 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | ### These rules should only apply to current directory, but dart pub ignores rules that start with / 3 | .gradle 4 | captures/ 5 | gradlew 6 | gradlew.bat 7 | local.properties 8 | ### 9 | GeneratedPluginRegistrant.java 10 | 11 | # Remember to never publicly share your keystore. 12 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 13 | key.properties 14 | **/*.keystore 15 | **/*.jks 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/kotlin/com/example/objectbox_demo/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.objectbox_demo 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/lib/model.dart: -------------------------------------------------------------------------------- 1 | import 'package:intl/intl.dart'; 2 | import 'package:objectbox/objectbox.dart'; 3 | 4 | // ignore_for_file: public_member_api_docs 5 | 6 | @Entity() 7 | class Note { 8 | int id; 9 | 10 | String text; 11 | String? comment; 12 | 13 | /// Note: Stored in milliseconds without time zone info. 14 | DateTime date; 15 | 16 | Note(this.text, {this.id = 0, this.comment, DateTime? date}) 17 | : date = date ?? DateTime.now(); 18 | 19 | String get dateFormat => DateFormat('dd.MM.yyyy hh:mm:ss').format(date); 20 | } 21 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/linux/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void fl_register_plugins(FlPluginRegistry* registry) { 12 | g_autoptr(FlPluginRegistrar) objectbox_flutter_libs_registrar = 13 | fl_plugin_registry_get_registrar_for_plugin(registry, "ObjectboxFlutterLibsPlugin"); 14 | objectbox_flutter_libs_plugin_register_with_registrar(objectbox_flutter_libs_registrar); 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import objectbox_flutter_libs 9 | import path_provider_foundation 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | ObjectboxFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxFlutterLibsPlugin")) 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | com.apple.security.application-groups 12 | 13 | objectbox.demo 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | objectbox.demo 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import FlutterMacOS 2 | import Cocoa 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void RegisterPlugins(flutter::PluginRegistry* registry) { 12 | ObjectboxFlutterLibsPluginRegisterWithRegistrar( 13 | registry->GetRegistrarForPlugin("ObjectboxFlutterLibsPlugin")); 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | ### These rules should only apply to current directory, but dart pub ignores rules that start with / 3 | .gradle 4 | captures/ 5 | gradlew 6 | gradlew.bat 7 | local.properties 8 | ### 9 | GeneratedPluginRegistrant.java 10 | 11 | # Remember to never publicly share your keystore. 12 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 13 | key.properties 14 | **/*.keystore 15 | **/*.jks 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/kotlin/com/example/objectbox_demo_relations/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.objectbox_demo_relations 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import objectbox_flutter_libs 9 | import path_provider_foundation 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | ObjectboxFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxFlutterLibsPlugin")) 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | com.apple.security.application-groups 12 | 13 | objectbox.demo 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | objectbox.demo 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import FlutterMacOS 2 | import Cocoa 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/screenshot-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/screenshot-app.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void RegisterPlugins(flutter::PluginRegistry* registry) { 12 | ObjectboxFlutterLibsPluginRegisterWithRegistrar( 13 | registry->GetRegistrarForPlugin("ObjectboxFlutterLibsPlugin")); 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_relations/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_relations/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/.gitignore: -------------------------------------------------------------------------------- 1 | gradle-wrapper.jar 2 | ### These rules should only apply to current directory, but dart pub ignores rules that start with / 3 | .gradle 4 | captures/ 5 | gradlew 6 | gradlew.bat 7 | local.properties 8 | ### 9 | GeneratedPluginRegistrant.java 10 | 11 | # Remember to never publicly share your keystore. 12 | # See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app 13 | key.properties 14 | **/*.keystore 15 | **/*.jks 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/kotlin/com/example/objectbox_demo_sync/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example.objectbox_demo_sync 2 | 3 | import io.flutter.embedding.android.FlutterActivity 4 | 5 | class MainActivity: FlutterActivity() { 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/drawable-v21/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/drawable/launch_background.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/app/src/profile/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/gradle.properties: -------------------------------------------------------------------------------- 1 | org.gradle.jvmargs=-Xmx4G 2 | android.useAndroidX=true 3 | android.enableJetifier=true 4 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Flutter/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Flutter/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreviewsEnabled 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import UIKit 2 | import Flutter 3 | 4 | @UIApplicationMain 5 | @objc class AppDelegate: FlutterAppDelegate { 6 | override func application( 7 | _ application: UIApplication, 8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? 9 | ) -> Bool { 10 | GeneratedPluginRegistrant.register(with: self) 11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "filename" : "LaunchImage.png", 6 | "scale" : "1x" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "filename" : "LaunchImage@2x.png", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "filename" : "LaunchImage@3x.png", 16 | "scale" : "3x" 17 | } 18 | ], 19 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md: -------------------------------------------------------------------------------- 1 | # Launch Screen Assets 2 | 3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory. 4 | 5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/Runner/Runner-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | #import "GeneratedPluginRegistrant.h" 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/ios/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/linux/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral 2 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/linux/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void fl_register_plugins(FlPluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/linux/main.cc: -------------------------------------------------------------------------------- 1 | #include "my_application.h" 2 | 3 | int main(int argc, char** argv) { 4 | g_autoptr(MyApplication) app = my_application_new(); 5 | return g_application_run(G_APPLICATION(app), argc, argv); 6 | } 7 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/linux/my_application.h: -------------------------------------------------------------------------------- 1 | #ifndef FLUTTER_MY_APPLICATION_H_ 2 | #define FLUTTER_MY_APPLICATION_H_ 3 | 4 | #include 5 | 6 | G_DECLARE_FINAL_TYPE(MyApplication, my_application, MY, APPLICATION, 7 | GtkApplication) 8 | 9 | /** 10 | * my_application_new: 11 | * 12 | * Creates a new Flutter-based application. 13 | * 14 | * Returns: a new #MyApplication. 15 | */ 16 | MyApplication* my_application_new(); 17 | 18 | #endif // FLUTTER_MY_APPLICATION_H_ 19 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/.gitignore: -------------------------------------------------------------------------------- 1 | # Flutter-related 2 | **/Flutter/ephemeral/ 3 | **/Pods/ 4 | 5 | # Xcode-related 6 | **/dgph 7 | **/xcuserdata/ 8 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Flutter/Flutter-Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Flutter/Flutter-Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig" 2 | #include "ephemeral/Flutter-Generated.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Flutter/GeneratedPluginRegistrant.swift: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | import FlutterMacOS 6 | import Foundation 7 | 8 | import objectbox_sync_flutter_libs 9 | import path_provider_foundation 10 | 11 | func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { 12 | ObjectboxSyncFlutterLibsPlugin.register(with: registry.registrar(forPlugin: "ObjectboxSyncFlutterLibsPlugin")) 13 | PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/AppDelegate.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | @NSApplicationMain 5 | class AppDelegate: FlutterAppDelegate { 6 | override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool { 7 | return true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Configs/Debug.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Debug.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Configs/Release.xcconfig: -------------------------------------------------------------------------------- 1 | #include "../../Flutter/Flutter-Release.xcconfig" 2 | #include "Warnings.xcconfig" 3 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/DebugProfile.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.cs.allow-jit 8 | 9 | com.apple.security.network.server 10 | 11 | com.apple.security.application-groups 12 | 13 | objectbox.demo 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/MainFlutterWindow.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | class MainFlutterWindow: NSWindow { 5 | override func awakeFromNib() { 6 | let flutterViewController = FlutterViewController() 7 | let windowFrame = self.frame 8 | self.contentViewController = flutterViewController 9 | self.setFrame(windowFrame, display: true) 10 | 11 | RegisterGeneratedPlugins(registry: flutterViewController) 12 | 13 | super.awakeFromNib() 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/Runner/Release.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.application-groups 8 | 9 | objectbox.demo 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/macos/RunnerTests/RunnerTests.swift: -------------------------------------------------------------------------------- 1 | import FlutterMacOS 2 | import Cocoa 3 | import XCTest 4 | 5 | class RunnerTests: XCTestCase { 6 | 7 | func testExample() { 8 | // If you add code to the Runner application, consider adding tests here. 9 | // See https://developer.apple.com/documentation/xctest for more information about using XCTest. 10 | } 11 | 12 | } 13 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ephemeral/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/windows/flutter/generated_plugin_registrant.cc: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #include "generated_plugin_registrant.h" 8 | 9 | #include 10 | 11 | void RegisterPlugins(flutter::PluginRegistry* registry) { 12 | ObjectboxSyncFlutterLibsPluginRegisterWithRegistrar( 13 | registry->GetRegistrarForPlugin("ObjectboxSyncFlutterLibsPlugin")); 14 | } 15 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/windows/flutter/generated_plugin_registrant.h: -------------------------------------------------------------------------------- 1 | // 2 | // Generated file. Do not edit. 3 | // 4 | 5 | // clang-format off 6 | 7 | #ifndef GENERATED_PLUGIN_REGISTRANT_ 8 | #define GENERATED_PLUGIN_REGISTRANT_ 9 | 10 | #include 11 | 12 | // Registers Flutter plugins. 13 | void RegisterPlugins(flutter::PluginRegistry* registry); 14 | 15 | #endif // GENERATED_PLUGIN_REGISTRANT_ 16 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/windows/runner/resource.h: -------------------------------------------------------------------------------- 1 | //{{NO_DEPENDENCIES}} 2 | // Microsoft Visual C++ generated include file. 3 | // Used by Runner.rc 4 | // 5 | #define IDI_APP_ICON 101 6 | 7 | // Next default values for new objects 8 | // 9 | #ifdef APSTUDIO_INVOKED 10 | #ifndef APSTUDIO_READONLY_SYMBOLS 11 | #define _APS_NEXT_RESOURCE_VALUE 102 12 | #define _APS_NEXT_COMMAND_VALUE 40001 13 | #define _APS_NEXT_CONTROL_VALUE 1001 14 | #define _APS_NEXT_SYMED_VALUE 101 15 | #endif 16 | #endif 17 | -------------------------------------------------------------------------------- /objectbox/example/flutter/objectbox_demo_sync/windows/runner/resources/app_icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/objectbox/example/flutter/objectbox_demo_sync/windows/runner/resources/app_icon.ico -------------------------------------------------------------------------------- /objectbox/lib/internal.dart: -------------------------------------------------------------------------------- 1 | /// This library serves as an entrypoint for generated code and objectbox tools. 2 | /// Don't import into your own code, use 'objectbox.dart' instead. 3 | library objectbox_internal; 4 | 5 | export 'src/modelinfo/index.dart'; 6 | export 'src/native/bindings/flatbuffers_readers.dart'; 7 | export 'src/native/bindings/objectbox_c.dart' 8 | show OBXVectorDistanceType, OBXHnswFlags; 9 | export 'src/native/store.dart' show InternalStoreAccess; 10 | export 'src/relations/info.dart'; 11 | export 'src/relations/to_many.dart' 12 | show InternalToManyAccess, InternalToManyTestAccess; 13 | -------------------------------------------------------------------------------- /objectbox/lib/src/admin.dart: -------------------------------------------------------------------------------- 1 | export 'native/admin.dart' if (dart.library.html) 'web/admin.dart'; 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/box.dart: -------------------------------------------------------------------------------- 1 | export 'native/box.dart' if (dart.library.html) 'web/box.dart'; 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/model.dart: -------------------------------------------------------------------------------- 1 | export 'native/model.dart' if (dart.library.html) 'web/model.dart'; 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/modelinfo/index.dart: -------------------------------------------------------------------------------- 1 | export 'entity_definition.dart'; 2 | export 'enums.dart'; 3 | export 'iduid.dart'; 4 | export 'model_definition.dart'; 5 | export 'model_hnsw_params.dart'; 6 | export 'modelbacklink.dart'; 7 | export 'modelentity.dart'; 8 | export 'modelinfo.dart'; 9 | export 'modelproperty.dart'; 10 | export 'modelrelation.dart'; 11 | -------------------------------------------------------------------------------- /objectbox/lib/src/modelinfo/model_definition.dart: -------------------------------------------------------------------------------- 1 | // ignore_for_file: public_member_api_docs 2 | 3 | import 'entity_definition.dart'; 4 | import 'modelinfo.dart'; 5 | 6 | class ModelDefinition { 7 | final ModelInfo model; 8 | final Map bindings; 9 | 10 | const ModelDefinition(this.model, this.bindings); 11 | } 12 | -------------------------------------------------------------------------------- /objectbox/lib/src/query.dart: -------------------------------------------------------------------------------- 1 | export 'native/query/query.dart' if (dart.library.html) 'web/query.dart'; 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/store.dart: -------------------------------------------------------------------------------- 1 | // Web support is currently early-stage WIP, prevent pub.dev recognizing this 2 | // objectbox as already web-capable. See tracking issue #185. 3 | // export 'native/store.dart' if (dart.library.html) 'web/store.dart'; 4 | 5 | export 'native/store.dart'; 6 | -------------------------------------------------------------------------------- /objectbox/lib/src/sync.dart: -------------------------------------------------------------------------------- 1 | export 'native/sync.dart' if (dart.library.html) 'web/sync.dart'; 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/util.dart: -------------------------------------------------------------------------------- 1 | import 'dart:collection'; 2 | 3 | import 'store.dart'; 4 | import 'sync.dart'; 5 | 6 | // ignore_for_file: public_member_api_docs 7 | 8 | /// Global internal storage of sync clients - one client per store. 9 | final syncClientsStorage = HashMap(); 10 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/admin.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/box.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/model.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/observable.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/query.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/store.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/sync.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/lib/src/web/transaction.dart: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /objectbox/tool/common.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | # this file is meant to be includes ("sourced") from other scripts 3 | set -euo pipefail 4 | 5 | # macOS does not have realpath and readlink does not have -f option, so do this instead: 6 | root=$( 7 | cd "$(dirname "$0")/.." 8 | pwd -P 9 | ) 10 | echo "Repo root dir: $root" 11 | -------------------------------------------------------------------------------- /objectbox_test/Makefile: -------------------------------------------------------------------------------- 1 | # Default target executed when no arguments are given to make. 2 | default: help 3 | 4 | .PHONY: default help depend test 5 | 6 | help: ## Show this help 7 | @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' 8 | 9 | #============================================================================== 10 | 11 | depend: ## Build dependencies 12 | ../install.sh 13 | dart pub get 14 | 15 | test: ## Generate code and run unit tests 16 | dart run build_runner build 17 | dart run test 18 | -------------------------------------------------------------------------------- /objectbox_test/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:lints/recommended.yaml 2 | -------------------------------------------------------------------------------- /sync_flutter_libs/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | See [ObjectBox changelog](https://pub.dev/packages/objectbox/changelog). -------------------------------------------------------------------------------- /sync_flutter_libs/analysis_options.yaml: -------------------------------------------------------------------------------- 1 | include: package:flutter_lints/flutter.yaml 2 | 3 | # Additional information about this file can be found at 4 | # https://dart.dev/guides/language/analysis-options 5 | -------------------------------------------------------------------------------- /sync_flutter_libs/android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/workspace.xml 5 | /.idea/libraries 6 | .DS_Store 7 | /build 8 | /captures 9 | .cxx 10 | -------------------------------------------------------------------------------- /sync_flutter_libs/android/README.md: -------------------------------------------------------------------------------- 1 | Flutter plugin for Android reduced to the minimum that works for library inclusion by client apps. 2 | See [packaging.md](/dev-doc/packaging.md). 3 | 4 | Notably, the Android package depends on `objectbox-sync-android`, the native ObjectBox library 5 | distribution for Android. -------------------------------------------------------------------------------- /sync_flutter_libs/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'objectbox_sync_flutter_libs' 2 | -------------------------------------------------------------------------------- /sync_flutter_libs/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | -------------------------------------------------------------------------------- /sync_flutter_libs/example/README.md: -------------------------------------------------------------------------------- 1 | See [ObjectBox](https://pub.dev/packages/objectbox). -------------------------------------------------------------------------------- /sync_flutter_libs/ios/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | .vagrant/ 3 | .sconsign.dblite 4 | .svn/ 5 | 6 | .DS_Store 7 | *.swp 8 | profile 9 | 10 | DerivedData/ 11 | build/ 12 | GeneratedPluginRegistrant.h 13 | GeneratedPluginRegistrant.m 14 | 15 | .generated/ 16 | 17 | *.pbxuser 18 | *.mode1v3 19 | *.mode2v3 20 | *.perspectivev3 21 | 22 | !default.pbxuser 23 | !default.mode1v3 24 | !default.mode2v3 25 | !default.perspectivev3 26 | 27 | xcuserdata 28 | 29 | *.moved-aside 30 | 31 | *.pyc 32 | *sync/ 33 | Icon? 34 | .tags* 35 | 36 | /Flutter/Generated.xcconfig 37 | /Flutter/ephemeral/ 38 | /Flutter/flutter_export_environment.sh -------------------------------------------------------------------------------- /sync_flutter_libs/ios/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/sync_flutter_libs/ios/Assets/.gitkeep -------------------------------------------------------------------------------- /sync_flutter_libs/ios/Classes/ObjectboxSyncFlutterLibsPlugin.swift: -------------------------------------------------------------------------------- 1 | import Flutter 2 | import UIKit 3 | 4 | public class ObjectboxSyncFlutterLibsPlugin: NSObject, FlutterPlugin { 5 | public static func register(with registrar: FlutterPluginRegistrar) { 6 | // Not using method channels, so not registering one. 7 | // Note: if ever implementing this, may have add workaround for https://github.com/flutter/flutter/issues/67624 8 | } 9 | 10 | public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { 11 | result(nil) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /sync_flutter_libs/macos/Classes/ObjectboxSyncFlutterLibsPlugin.swift: -------------------------------------------------------------------------------- 1 | import Cocoa 2 | import FlutterMacOS 3 | 4 | public class ObjectboxSyncFlutterLibsPlugin: NSObject, FlutterPlugin { 5 | public static func register(with registrar: FlutterPluginRegistrar) { 6 | // Not using method channels, so not registering one. 7 | // Note: if ever implementing this, may have to add workaround for https://github.com/flutter/flutter/issues/67624 8 | } 9 | 10 | public func handle(_ call: FlutterMethodCall, result: @escaping FlutterResult) { 11 | result(nil) 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /sync_flutter_libs/windows/.gitignore: -------------------------------------------------------------------------------- 1 | flutter/ 2 | 3 | # Visual Studio user-specific files. 4 | *.suo 5 | *.user 6 | *.userosscache 7 | *.sln.docstates 8 | 9 | # Visual Studio build-related files. 10 | x64/ 11 | x86/ 12 | 13 | # Visual Studio cache files 14 | # files ending in .cache can be ignored 15 | *.[Cc]ache 16 | # but keep track of directories ending in .cache 17 | !*.[Cc]ache/ 18 | -------------------------------------------------------------------------------- /tool/apt-install.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euox pipefail 3 | 4 | sudo apt-get update 5 | sudo apt-get install --yes --no-install-recommends $@ -------------------------------------------------------------------------------- /tool/pub.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | set -euo pipefail 3 | 4 | # forward all arguments to an available version of `pub` 5 | 6 | if [[ `command -v pub` ]]; then 7 | pub "$@" 8 | elif [[ `command -v pub.bat` ]]; then 9 | pub.bat "$@" 10 | else 11 | dart pub "$@" 12 | fi 13 | -------------------------------------------------------------------------------- /tool/yq_linux_amd64: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/tool/yq_linux_amd64 -------------------------------------------------------------------------------- /tool/yq_windows_amd64.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/objectbox/objectbox-dart/50d54e7e4698c874766c6e176fa8d0e960dbad62/tool/yq_windows_amd64.exe --------------------------------------------------------------------------------