FaceCaptureConfig constructor

FaceCaptureConfig({
  1. bool copyright = true,
  2. bool cameraSwitchEnabled = false,
  3. bool closeButtonEnabled = true,
  4. bool torchButtonEnabled = true,
  5. bool vibrateOnSteps = true,
  6. bool detectOcclusion = true,
  7. int? cameraPositionAndroid,
  8. CameraPosition cameraPositionIOS = CameraPosition.FRONT,
  9. List<ScreenOrientation> screenOrientation = const [ScreenOrientation.PORTRAIT],
  10. double? timeout,
  11. double? holdStillDuration,
})

Implementation

FaceCaptureConfig({
  bool copyright = true,
  bool cameraSwitchEnabled = false,
  bool closeButtonEnabled = true,
  bool torchButtonEnabled = true,
  bool vibrateOnSteps = true,
  bool detectOcclusion = true,
  int? cameraPositionAndroid,
  CameraPosition cameraPositionIOS = CameraPosition.FRONT,
  List<ScreenOrientation> screenOrientation = const [
    ScreenOrientation.PORTRAIT
  ],
  double? timeout,
  double? holdStillDuration,
})  : copyright = copyright,
      cameraSwitchEnabled = cameraSwitchEnabled,
      closeButtonEnabled = closeButtonEnabled,
      torchButtonEnabled = torchButtonEnabled,
      vibrateOnSteps = vibrateOnSteps,
      detectOcclusion = detectOcclusion,
      cameraPositionAndroid = cameraPositionAndroid,
      cameraPositionIOS = cameraPositionIOS,
      screenOrientation = screenOrientation,
      timeout = timeout,
      holdStillDuration = holdStillDuration;