CyberCameraView constructor

CyberCameraView({
  1. required BuildContext context,
  2. bool enableCompression = true,
  3. int compressionQuality = 85,
  4. int? maxWidth = 1920,
  5. int? maxHeight = 1920,
  6. String? title,
  7. CameraLensDirection defaultCamera = CameraLensDirection.back,
  8. OnCameraError? onError,
})

Implementation

CyberCameraView({
  required this.context,
  this.enableCompression = true,
  this.compressionQuality = 85,
  this.maxWidth = 1920,
  this.maxHeight = 1920,
  this.title,
  this.defaultCamera = CameraLensDirection.back,
  this.onError,
});