LivenessCheckConfig constructor

const LivenessCheckConfig({
  1. CameraSettings? cameraSettings = const CameraSettings(),
  2. Widget? customBottomWidget,
  3. LivenessCheckTheme theme = const LivenessCheckTheme(),
  4. LivenessCheckCallbacks? callbacks,
  5. LivenessCheckMessages messages = const LivenessCheckMessages(),
  6. LivenessCheckSettings settings = const LivenessCheckSettings(),
  7. String? placeholder = "Please smile or blink eye 3 time",
  8. LivenessStatus status = LivenessStatus.init,
  9. bool showLoading = false,
  10. Widget? customLoadingWidget,
  11. Widget? customCameraLoadingWidget,
  12. 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(),
});