MobileScannerViewAttributes constructor
const
MobileScannerViewAttributes({
- required CameraFacing cameraDirection,
- required TorchState currentTorchMode,
- required Size size,
- int? numberOfCameras,
- DeviceOrientation? initialDeviceOrientation,
Construct a new MobileScannerViewAttributes instance.
Implementation
const MobileScannerViewAttributes({
required this.cameraDirection,
required this.currentTorchMode,
required this.size,
this.numberOfCameras,
this.initialDeviceOrientation,
});