ScannerCameraPreview constructor

const ScannerCameraPreview({
  1. Key? key,
  2. required ScannerController controller,
  3. Widget? placeholder,
  4. Widget? child,
  5. BoxFit fit = BoxFit.cover,
})

Constructs a ScannerCameraPreview.

Implementation

const ScannerCameraPreview({
  super.key,
  required this.controller,
  this.placeholder,
  this.child,
  this.fit = BoxFit.cover,
});