objectbox_inspector 0.0.4 copy "objectbox_inspector: ^0.0.4" to clipboard
objectbox_inspector: ^0.0.4 copied to clipboard

A visual interface for all the classes annotated with @Entity in ObjectBox.

Objectbox Inspector for Objectbox #

pub package

This package provides a visual interface for all the classes annotated with @Entity in ObjectBox.

[Objectbox Inspector Demo]

Usage #

To use the Objectbox Inspector, you need to add the objectbox_inspector and objectbox_inspector_generator dependency to your project.

Note: Obviosly objectbox itself is required.

dependencies:
  objectbox_inspector: latest

dev_dependencies:
  objectbox_inspector_generator: latest

After running flutter pub get, you can run the objectbox_inspector command to generate the inspector.

flutter pub get
flutter pub run build_runner build

This will generate a objectbox.inspector.g.dart file in your project. That contains the necessary code to run the inspector.

Example #

final store = openStore(); // need the Store instance...

// ...
IconButton(
    onPressed: () => openObjectboxInspector(
        context,
        getInspectableBoxes(store),
    ),
    icon: const Icon(Icons.bug_report),
),
// ...

"Buy Me A Coffee"

6
likes
0
points
368
downloads

Publisher

verified publisheranotherit.company

Weekly Downloads

A visual interface for all the classes annotated with @Entity in ObjectBox.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, objectbox, path

More

Packages that depend on objectbox_inspector