MobileScannerViewAttributes constructor

const MobileScannerViewAttributes({
  1. required CameraFacing cameraDirection,
  2. required TorchState currentTorchMode,
  3. required Size size,
  4. int? numberOfCameras,
  5. DeviceOrientation? initialDeviceOrientation,
})

Construct a new MobileScannerViewAttributes instance.

Implementation

const MobileScannerViewAttributes({
  required this.cameraDirection,
  required this.currentTorchMode,
  required this.size,
  this.numberOfCameras,
  this.initialDeviceOrientation,
});