LivenessCheckTheme constructor
const
LivenessCheckTheme({
- Color backgroundColor = Colors.white,
- Color? btnRetryBGColor = Colors.blue,
- Color? btnTextRetryColor = Colors.white,
- TextStyle? btnRetryTextStyle,
- double? btnRetryHeight,
- EdgeInsets? btnRetryPadding,
- double? btnRetryBorderRadius,
- Color primaryColor = Colors.blue,
- Color successColor = Colors.green,
- Color errorColor = Colors.red,
- Color warningColor = Colors.orange,
- Color borderColor = Colors.blue,
- Color textColor = Colors.black,
- Color? overlayColor = Colors.white,
- double circleSize = 0.65,
- double borderWidth = 4,
- CircleBorderStyle borderStyle = CircleBorderStyle.solid,
- double dashLength = 8.0,
- double dashGap = 8.0,
- double cameraPadding = 0.0,
- String? successAsset,
- String? failAsset,
- String? fontFamily,
- TextStyle? titleTextStyle,
- TextStyle? messageTextStyle,
- TextStyle? errorTextStyle,
- TextStyle? successTextStyle,
Creates a liveness check theme.
Implementation
const LivenessCheckTheme({
this.backgroundColor = Colors.white,
this.btnRetryBGColor = Colors.blue,
this.btnTextRetryColor = Colors.white,
this.btnRetryTextStyle,
this.btnRetryHeight,
this.btnRetryPadding,
this.btnRetryBorderRadius,
this.primaryColor = Colors.blue,
this.successColor = Colors.green,
this.errorColor = Colors.red,
this.warningColor = Colors.orange,
this.borderColor = Colors.blue,
this.textColor = Colors.black,
this.overlayColor = Colors.white,
this.circleSize = 0.65,
this.borderWidth = 4,
this.borderStyle = CircleBorderStyle.solid,
this.dashLength = 8.0,
this.dashGap = 8.0,
this.cameraPadding = 0.0,
this.successAsset,
this.failAsset,
this.fontFamily,
this.titleTextStyle,
this.messageTextStyle,
this.errorTextStyle,
this.successTextStyle,
});