CameraOverlay constructor

const CameraOverlay(
  1. CameraDescription camera,
  2. OverlayModel model,
  3. XFileCallback onCapture, {
  4. Key? key,
  5. bool flash = false,
  6. bool enableCaptureButton = true,
  7. String? label,
  8. String? info,
  9. Widget? loadingWidget,
  10. EdgeInsets? infoMargin,
})

Implementation

const CameraOverlay(
  this.camera,
  this.model,
  this.onCapture, {
  Key? key,
  this.flash = false,
  this.enableCaptureButton = true,
  this.label,
  this.info,
  this.loadingWidget,
  this.infoMargin,
}) : super(key: key);