InputCameraView constructor
InputCameraView({
- Key? key,
- required String title,
- Widget? overlay,
- InputCameraMode mode = InputCameraMode.live,
- InputCameraType cameraDefault = InputCameraType.rear,
- ResolutionPreset resolutionPreset = ResolutionPreset.low,
- bool canSwitchMode = true,
- String? action,
- void onTapAction()?,
- required dynamic onImage(
- InputImage inputImage
Implementation
InputCameraView({
Key? key,
required this.title,
this.overlay,
this.mode = InputCameraMode.live,
this.cameraDefault = InputCameraType.rear,
this.resolutionPreset = ResolutionPreset.low,
this.canSwitchMode = true,
this.action,
this.onTapAction,
required this.onImage,
}) : super(key: key);