objectbox_sync_flutter_libs
5.3.2, released 6 months ago by objectbox.io
Flutter plugin providing the native ObjectBox NoSQL database with built‑in Sync support.
What it does
It bundles the ObjectBox engine and its Sync client as a Flutter plugin for Android, iOS, macOS, Windows and Linux. The library lets you store Dart objects locally and keep them synchronized with a remote ObjectBox Sync server.
AI-written summary of version 5.3.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need a high‑performance local NoSQL database with automatic sync to a server
- You target multiple desktop and mobile platforms and want a single Dart API
Skip it when
- You require a relational SQL database or need full SQL query support
- You prefer a pure‑Dart solution without native binaries
Strengths
- Very fast object‑oriented storage
- Built‑in data synchronization across devices
- Cross‑platform native implementation
Weaknesses
- Adds native binaries, increasing app size
- Limited to ObjectBox ecosystem; no SQL support
- Requires native build setup
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Add objectbox_sync_flutter_libs (and objectbox) to pubspec.yaml, run flutter pub get, and ensure platform‑specific native dependencies are available (e.g., C++ toolchain for desktop). No additional code‑generation required.
import 'package:objectbox/objectbox.dart';
void main() async {
final store = await openStore(); // provided by objectbox package
final box = store.box<MyEntity>();
box.put(MyEntity(id: 0, name: 'example'));
}
Alternatives
Packages that do the same job and could replace objectbox_sync_flutter_libs.
Works with
Packages commonly used together with objectbox_sync_flutter_libs: ones it builds on, ones built on it, and its own family.
- path_providerobjectbox_sync_flutter_libs depends on itProvides Flutter APIs to locate common filesystem directories on Android, iOS, macOS, Linux and Windows.
- objectboxobjectbox_sync_flutter_libs depends on itFast on‑device NoSQL object database for Flutter and Dart native apps.
- objectbox_flutter_libsSame familyFlutter plugin providing native ObjectBox NoSQL database libraries
- objectbox_generatorSame familyGenerates ObjectBox binding code for annotated Dart entities.