native/dart_bridge_vlm library
DartBridge+VLM
VLM component bridge - manages C++ VLM component lifecycle. Mirrors Swift's CppBridge+VLM.swift pattern exactly.
This is a thin wrapper around C++ VLM component functions. All business logic is in C++ - Dart only manages the handle.
STREAMING ARCHITECTURE: Streaming runs in a background isolate to prevent ANR (Application Not Responding). Token callbacks in the background isolate send messages to the main isolate via a SendPort.
Classes
- DartBridgeVLM
- VLM component bridge for C++ interop.
- VlmBridgeResult
- Result from VLM image processing.