CameraOverlay constructor

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

Implementation

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