FRCController constructor
FRCController({
- ImageResolution imageResolution = ImageResolution.medium,
- bool enableAudio = true,
- bool autoCapture = false,
- bool ignoreFacePositioning = false,
- CameraOrientation? orientation = CameraOrientation.portraitUp,
- required void onCapture(),
- void onFaceDetected(
- Face? face
- bool centerPosition = false,
Construct a new FRCController instance.
Implementation
FRCController({
this.imageResolution = ImageResolution.medium,
this.enableAudio = true,
this.autoCapture = false,
this.ignoreFacePositioning = false,
this.orientation = CameraOrientation.portraitUp,
required this.onCapture,
this.onFaceDetected,
this.centerPosition = false,
}) : super(CameraState.uninitialized());