DetectorView constructor
DetectorView({
- Key? key,
- required String title,
- required dynamic onImage(
- InputImage inputImage
- CustomPaint? customPaint,
- String? text,
- DetectorViewMode initialDetectionMode = DetectorViewMode.liveFeed,
- CameraLensDirection initialCameraLensDirection = CameraLensDirection.back,
- dynamic onCameraFeedReady()?,
- dynamic onDetectorViewModeChanged(
- DetectorViewMode mode
- dynamic onCameraLensDirectionChanged(
- 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);