DetectorView constructor

DetectorView({
  1. Key? key,
  2. required String title,
  3. required dynamic onImage(
    1. InputImage inputImage
    ),
  4. CustomPaint? customPaint,
  5. String? text,
  6. DetectorViewMode initialDetectionMode = DetectorViewMode.liveFeed,
  7. CameraLensDirection initialCameraLensDirection = CameraLensDirection.back,
  8. dynamic onCameraFeedReady()?,
  9. dynamic onDetectorViewModeChanged(
    1. DetectorViewMode mode
    )?,
  10. dynamic onCameraLensDirectionChanged(
    1. CameraLensDirection direction
    )?,
})

Implementation

DetectorView({
  Key? key,
  required this.title,
  required this.onImage,
  this.customPaint,
  this.text,
  this.initialDetectionMode = DetectorViewMode.liveFeed,
  this.initialCameraLensDirection = CameraLensDirection.back,
  this.onCameraFeedReady,
  this.onDetectorViewModeChanged,
  this.onCameraLensDirectionChanged,
}) : super(key: key);