FrontIdScanner constructor

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

Implementation

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