LivenessCheckConfig constructor
const
LivenessCheckConfig({
- CameraSettings? cameraSettings = const CameraSettings(),
- Widget? customBottomWidget,
- LivenessCheckTheme theme = const LivenessCheckTheme(),
- LivenessCheckCallbacks? callbacks,
- LivenessCheckMessages messages = const LivenessCheckMessages(),
- LivenessCheckSettings settings = const LivenessCheckSettings(),
- String? placeholder = "Please smile or blink eye 3 time",
- LivenessStatus status = LivenessStatus.init,
- bool showLoading = false,
- Widget? customLoadingWidget,
- Widget? customCameraLoadingWidget,
- AppBarConfig appBarConfig = const AppBarConfig(),
Creates a liveness check configuration.
Implementation
const LivenessCheckConfig({
this.cameraSettings = const CameraSettings(),
this.customBottomWidget,
this.theme = const LivenessCheckTheme(),
this.callbacks,
this.messages = const LivenessCheckMessages(),
this.settings = const LivenessCheckSettings(),
this.placeholder = "Please smile or blink eye 3 time",
this.status = LivenessStatus.init,
this.showLoading = false,
this.customLoadingWidget,
this.customCameraLoadingWidget,
this.appBarConfig = const AppBarConfig(),
});