CameraView constructor
const
CameraView({
- Key? key,
- required CustomPaint? customPaint,
- required dynamic onImage(
- InputImage inputImage
- dynamic onCameraFeedReady(
- CameraController controller
- VoidCallback? onDetectorViewModeChanged,
- dynamic onCameraLensDirectionChanged(
- CameraLensDirection direction
- List<
Map< ? recentScans,String, dynamic> > - CameraLensDirection initialCameraLensDirection = CameraLensDirection.back,
- dynamic onRegisterCallbacks()?,
Implementation
const CameraView({
super.key,
required this.customPaint,
required this.onImage,
this.onCameraFeedReady,
this.onDetectorViewModeChanged,
this.onCameraLensDirectionChanged,
this.recentScans,
this.initialCameraLensDirection = CameraLensDirection.back,
this.onRegisterCallbacks,
});