QRView constructor

const QRView({
  1. required Key key,
  2. required QRViewCreatedCallback onQRViewCreated,
  3. QrScannerOverlayShape? overlay,
  4. EdgeInsetsGeometry overlayMargin = EdgeInsets.zero,
  5. CameraFacing cameraFacing = CameraFacing.back,
  6. PermissionSetCallback? onPermissionSet,
  7. List<BarcodeFormat> formatsAllowed = const <BarcodeFormat>[],
})

Implementation

const QRView({
  required Key key,
  required this.onQRViewCreated,
  this.overlay,
  this.overlayMargin = EdgeInsets.zero,
  this.cameraFacing = CameraFacing.back,
  this.onPermissionSet,
  this.formatsAllowed = const <BarcodeFormat>[],
}) : super(key: key);