FaceCaptureConfig constructor
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,
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;