devtools library
DevTools runtime integration and inspection APIs for dependency_box.
This library provides opt-in integration with Flutter DevTools and Dart VM Service protocol extensions. It does not introduce any third-party dependencies or runtime overhead unless explicitly enabled via DependencyBoxDevTools.register.
Classes
- ContainerInspector
- Pure read-only inspector for DependencyBox container hierarchies.
- ContainerSnapshot
- Represents a point-in-time, read-only snapshot of a DependencyBox hierarchy.
- DependencyBoxDevTools
- Optional runtime integration that exposes DependencyBox inspection data via Dart VM Service extensions.
- DiagnosticNotice
- Represents a diagnostic issue, warning, or notice about the container state.
- RegistrationSnapshot
- Represents the snapshot state of a single dependency registration.
- ScopeSnapshot
- Represents the snapshot state of a single scope (or container level) in the hierarchy.
Typedefs
-
ServiceExtensionCallback
= Future<
ServiceExtensionResponse> Function(String method, Map<String, String> parameters) - Service extension handler callback signature for testing without Dart VM service.