How droidchief/lense_bridge works
This is a Flutter mobile app whose apparent purpose is to bridge camera views and overlays to native Android and iOS code. The README is only Flutter boilerplate, so the product workflow is inferred from the camera- and overlay-named files in the tree. Most implementation excerpts are empty or absent; links between those components are therefore limited to likely app entry and platform-view relationships, not asserted native call chains.
Main entry points: main.dart Flutter entry · camera_view.dart Camera view · camera_controller.dart Dart controller
Components 17
Flutter app
- Flutter entry
lib/main.dart - Camera view
lib/camera_view.dart - Dart controller
lib/camera_controller.dart - Camera state
lib/models/camera_state.dart
Android camera
- Android entry
android/app/src/main/kotlin/com/example/lens_bridge/MainActivity.kt - View factory
android/app/src/main/kotlin/com/example/lens_bridge/CameraPlatformViewFactory.kt - Platform view
android/app/src/main/kotlin/com/example/lens_bridge/CameraPlatformView.kt - Native controller
android/app/src/main/kotlin/com/example/lens_bridge/CameraController.kt - Overlay renderer
android/app/src/main/kotlin/com/example/lens_bridge/OverlayRenderer.kt - Overlay view
android/app/src/main/kotlin/com/example/lens_bridge/OverlayView.kt
iOS camera
- iOS entry
ios/Runner/AppDelegate.swift - View factory
ios/Runner/CameraPlatformViewFactory.swift - Platform view
ios/Runner/CameraPlatformView.swift - Native controller
ios/Runner/CameraController.swift - Overlay renderer
ios/Runner/OverlayRenderer.swift
Other components
- App user
- Device camera
Connections 3
- App user → Flutter entry: opens
- Flutter entry → Camera view: shows
- Camera view → Dart controller: uses