BackIdScanner constructor

const BackIdScanner({
  1. Key? controller,
  2. required dynamic onSuccess(
    1. MRZResult,
    2. File
    ),
  3. CameraLensDirection initialDirection = CameraLensDirection.back,
  4. bool showOverlay = true,
})

Implementation

const BackIdScanner({
  Key? controller,
  required this.onSuccess,
  this.initialDirection = CameraLensDirection.back,
  this.showOverlay = true,
}) : super(key: controller);