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