FRCController constructor

FRCController({
  1. ImageResolution imageResolution = ImageResolution.medium,
  2. bool enableAudio = true,
  3. bool autoCapture = false,
  4. bool ignoreFacePositioning = false,
  5. CameraOrientation? orientation = CameraOrientation.portraitUp,
  6. required void onCapture(
    1. File? image,
    2. Uint8List? imageCropped
    ),
  7. void onFaceDetected(
    1. Face? face
    )?,
  8. 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());