CameraView constructor
CameraView({
- Key? key,
- required CustomPaint? customPaint,
- required dynamic onImage(
- InputImage inputImage
- VoidCallback? onCameraFeedReady,
- VoidCallback? onDetectorViewModeChanged,
- dynamic onCameraLensDirectionChanged(
- CameraLensDirection direction
- CameraLensDirection initialCameraLensDirection = CameraLensDirection.back,
Implementation
CameraView(
{Key? key,
required this.customPaint,
required this.onImage,
this.onCameraFeedReady,
this.onDetectorViewModeChanged,
this.onCameraLensDirectionChanged,
this.initialCameraLensDirection = CameraLensDirection.back})
: super(key: key);