orbital_core library
Classes
- OrbitalBinding
- Declares how a dependency is created, initialized and optionally disposed.
- OrbitalBindingDebugSnapshot
- OrbitalDebugBridge
- OrbitalDebugController
- OrbitalDebugHealthIssue
- OrbitalDebugHealthSummary
- OrbitalDebugOptions
- OrbitalDebugRegistry
- OrbitalDebugServiceExtensions
- OrbitalDebugSnapshot
- OrbitalDependencyRef
- Identifies a dependency edge in a binding graph.
- OrbitalDeveloperAdapter
- Default adapter that forwards events to dart:developer.log.
- OrbitalEventRecord
- OrbitalKey
- Distinguishes multiple bindings of the same runtime type.
- OrbitalLifecycle
- Optional lifecycle hooks for objects that want framework-driven callbacks.
- OrbitalLogEvent
- Immutable logger event produced by Orbital packages.
- OrbitalLogEventName
- Stable event name constants used across Orbital packages.
- OrbitalLogger
- Shared logger used across Orbital packages.
- OrbitalLoggerAdapter
- Interface for pluggable log output adapters used by OrbitalLogger.
- OrbitalLoggerConfig
- Logger category configuration shared by the Orbital packages.
- OrbitalLogStylePalette
- ANSI color palette used by the default logger formatter.
- OrbitalLogWriterAdapter
- Wraps an OrbitalLogWriter function as an OrbitalLoggerAdapter.
- OrbitalMiddlewareDebugSnapshot
- OrbitalResolver
- Read-only contract for resolving dependencies from an Orbital scope.
- OrbitalRetainedScopeDebugSnapshot
- OrbitalRouteBranchDebugSnapshot
- OrbitalRouterDebugSnapshot
- OrbitalRouterHistoryEntryDebugSnapshot
- OrbitalScope
- Mutable resolver contract for a dependency scope.
- OrbitalScopeDebugSnapshot
- OrbitalScopeFactory
- Creates the root scope used by Orbital runtime integrations.
Enums
- OrbitalBindingType
- Supported creation strategies for Orbital bindings.
- OrbitalDebugIssueSeverity
- OrbitalLogCategory
- Fine-grained categories used by OrbitalLoggerConfig to toggle log output.
- OrbitalLogDomain
- High-level log domains emitted by Orbital packages.
- OrbitalLoggerPreset
- Preset verbosity levels for the Orbital logger.
- OrbitalLogStyle
- Formatting hint used by the logger for visual grouping.
Functions
-
orbitalDebugClearEventsExtensionResponse(
OrbitalDebugController controller) → ServiceExtensionResponse -
orbitalDebugClearEventsServiceExtension(
String _, Map< String, String> _) → Future<ServiceExtensionResponse> -
orbitalDebugCopyOptionsForTest(
OrbitalDebugOptions options, {bool? enabled, int? maxEventHistory, bool? includeBindingGraph, bool? includeInstanceReadiness, bool? includeRetentionDetails}) → OrbitalDebugOptions -
orbitalDebugSnapshotExtensionResponse(
OrbitalDebugController controller) → ServiceExtensionResponse -
orbitalDebugSnapshotServiceExtension(
String _, Map< String, String> _) → Future<ServiceExtensionResponse>
Typedefs
-
OrbitalAsyncBindingFactory<
T extends Object> = Future< T> Function(OrbitalResolver resolver) -
OrbitalBindingFactory<
T extends Object> = T Function(OrbitalResolver resolver) -
OrbitalDisposeCallback<
T extends Object> = FutureOr< void> Function(T instance) - OrbitalLogWriter = void Function(OrbitalLogEvent event, String formattedMessage)
- Signature for a log writer function.
- OrbitalRouterDebugSnapshotBuilder = OrbitalRouterDebugSnapshot? Function()
- OrbitalScopeDebugSnapshotBuilder = OrbitalScopeDebugSnapshot? Function()
Exceptions / Errors
- OrbitalDependencyCycleException
- Thrown when Orbital detects a circular dependency graph.
- OrbitalDuplicateBindingException
- Thrown when the same type/key pair is registered twice in the same scope.
- OrbitalException
- Base class for Orbital framework exceptions.
- OrbitalMissingDependencyException
- Thrown when a dependency lookup cannot be satisfied from the scope tree.
- OrbitalNotReadyException
- Thrown when sync access is attempted before an async dependency is ready.