bridge library
In-process Dart ↔ Python byte channel.
See PythonBridge for the per-channel API. The lower-level DartBridge
singleton (from the platform-interface package) is re-exported here for
embedders that need the process-reuse / session-restart hooks added in
libdart_bridge 1.3.0 — isPythonInitialized and signalDartSession.
Classes
- DartBridge
- Loaded dart_bridge symbols. Use DartBridge.instance for the default per-platform handle, or DartBridge.open / DartBridge.process to load from a specific source (mostly useful for tests).
- PythonBridge
-
An in-process Dart ↔ Python byte channel, backed by the
dart_bridgenative library.