MobileScannerState constructor

const MobileScannerState({
  1. required int? availableCameras,
  2. required CameraFacing cameraDirection,
  3. required CameraLensType cameraLensType,
  4. required bool isInitialized,
  5. required bool isStarting,
  6. required bool isRunning,
  7. required Size size,
  8. required TorchState torchState,
  9. required double zoomScale,
  10. required DeviceOrientation deviceOrientation,
  11. MobileScannerException? error,
})

Create a new MobileScannerState instance.

Implementation

const MobileScannerState({
  required this.availableCameras,
  required this.cameraDirection,
  required this.cameraLensType,
  required this.isInitialized,
  required this.isStarting,
  required this.isRunning,
  required this.size,
  required this.torchState,
  required this.zoomScale,
  required this.deviceOrientation,
  this.error,
});