FaceCameraCircle constructor

const FaceCameraCircle({
  1. required FRCController controller,
  2. bool showControls = true,
  3. bool showCaptureControl = false,
  4. String message = 'No Camera Detected',
  5. TextStyle messageStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
  6. bool autoDisableCaptureControl = false,
  7. Widget? descriptionWidget,
  8. String emptyFaceMessage = 'Face not Detected',
  9. String centerMessage = 'Center your face in the camera',
  10. void captureControl(
    1. File? image,
    2. Uint8List? imageCropped
    )?,
  11. Key? key,
})

Implementation

const FaceCameraCircle({
  required this.controller,
  this.showControls = true,
  this.showCaptureControl = false,
  this.message = 'No Camera Detected',
  this.messageStyle = const TextStyle(fontSize: 18, fontWeight: FontWeight.w500),
  this.autoDisableCaptureControl = false,
  this.descriptionWidget,
  this.emptyFaceMessage = 'Face not Detected',
  this.centerMessage = 'Center your face in the camera',
  this.captureControl,
  super.key,
});