FaceCaptureConfig constructor

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

Implementation

FaceCaptureConfig(
    {bool copyright = true,
    bool cameraSwitchEnabled = false,
    bool closeButtonEnabled = true,
    bool torchButtonEnabled = true,
    bool vibrateOnSteps = 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,
      cameraPositionAndroid = cameraPositionAndroid,
      cameraPositionIOS = cameraPositionIOS,
      screenOrientation = screenOrientation,
      timeout = timeout,
      holdStillDuration = holdStillDuration;