copyWith method
Options
copyWith({
- Filter? filter,
- Color? titleTextColor,
- Color? promptTextColor,
- Color? closeButtonTintColor,
- Image? closeButtonImage,
- String? title,
- String? fontPath,
- Image? logoImage,
- Color? promptBackgroundColor,
- bool? promptRoundedCorners,
- Color? surroundColor,
- List<
String> ? certificates, - Duration? timeout,
- bool? enableScreenshots,
- Orientation? orientation,
- Camera? camera,
- Color? headerBackgroundColor,
- bool? disableExteriorEffects,
- GenuinePresenceAssuranceOptions? genuinePresenceAssurance,
- LivenessAssuranceOptions? livenessAssurance,
Implementation
Options copyWith({
Filter? filter,
Color? titleTextColor,
Color? promptTextColor,
Color? closeButtonTintColor,
Image? closeButtonImage,
String? title,
String? fontPath,
Image? logoImage,
Color? promptBackgroundColor,
bool? promptRoundedCorners,
Color? surroundColor,
List<String>? certificates,
Duration? timeout,
bool? enableScreenshots,
Orientation? orientation,
Camera? camera,
Color? headerBackgroundColor,
bool? disableExteriorEffects,
GenuinePresenceAssuranceOptions? genuinePresenceAssurance,
LivenessAssuranceOptions? livenessAssurance,
}) =>
Options(
filter: filter ?? this.filter,
titleTextColor: titleTextColor ?? this.titleTextColor,
promptTextColor: promptTextColor ?? this.promptTextColor,
closeButtonTintColor: closeButtonTintColor ?? this.closeButtonTintColor,
closeButtonImage: closeButtonImage ?? this.closeButtonImage,
title: title ?? this.title,
fontPath: fontPath ?? this.fontPath,
logoImage: logoImage ?? this.logoImage,
promptBackgroundColor: promptBackgroundColor ?? this.promptBackgroundColor,
promptRoundedCorners: promptRoundedCorners ?? this.promptRoundedCorners,
surroundColor: surroundColor ?? this.surroundColor,
certificates: certificates ?? this.certificates,
timeout: timeout ?? this.timeout,
enableScreenshots: enableScreenshots ?? this.enableScreenshots,
orientation: orientation ?? this.orientation,
camera: camera ?? this.camera,
headerBackgroundColor: headerBackgroundColor ?? this.headerBackgroundColor,
disableExteriorEffects: disableExteriorEffects ?? this.disableExteriorEffects,
genuinePresenceAssurance: genuinePresenceAssurance ?? this.genuinePresenceAssurance,
livenessAssurance: livenessAssurance ?? this.livenessAssurance,
);