CameraView constructor

CameraView({
  1. Key? key,
  2. required CustomPaint? customPaint,
  3. required dynamic onImage(
    1. InputImage inputImage
    ),
  4. VoidCallback? onCameraFeedReady,
  5. VoidCallback? onDetectorViewModeChanged,
  6. dynamic onCameraLensDirectionChanged(
    1. CameraLensDirection direction
    )?,
  7. 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);