dual_cameras library
Backwards-compatibility export for dual_cameras.
Prefer importing package:dual_camera_plus_flutter/dual_camera_plus_flutter.dart.
Classes
- CameraCapabilities
- Result of probing whether this device can run the dual-camera pipeline.
- DualCameraController
- Controls a dual-camera (front+back simultaneous) capture session.
- DualCameraPreview
- Renders the live composited preview produced by controller.
- DualCameraStatsOverlay
- A debug performance overlay showing live FPS, composite time, dropped frames, and thermal state (ARCHITECTURE.md §10). Color-codes against the "lag-free" targets: composite < 16 ms, zero dropped frames.
- DualCameraValue
- Immutable snapshot of the controller's state, exposed via ValueListenable.
- DualLayout
- Friendly Dart-side builders for the composite LayoutConfig.
- FrameStats
- Live performance telemetry for the debug HUD (ARCHITECTURE.md §10).
- LayoutConfig
- The picture-in-picture / split geometry. Computed once in Dart and applied identically to preview, recording, and stills so they can never drift.
Enums
- CameraLens
- Which physical camera a feed comes from.
- DualLayoutMode
- Composition layout of the two feeds.
- DualResolution
- Target capture resolution (the hardware caps this; 720p is the safe ceiling for Android concurrent cameras).
- InsetCorner
- Corner the picture-in-picture inset is anchored to.
- ThermalLevel
- Thermal pressure buckets, normalized across platforms.
- UnsupportedReason
- Why a capability probe failed, when it did.
- VideoCodec
- Recorded video codec.