LivenessCheckTheme constructor

const LivenessCheckTheme({
  1. Color backgroundColor = Colors.white,
  2. Color? btnRetryBGColor = Colors.blue,
  3. Color? btnTextRetryColor = Colors.white,
  4. TextStyle? btnRetryTextStyle,
  5. double? btnRetryHeight,
  6. EdgeInsets? btnRetryPadding,
  7. double? btnRetryBorderRadius,
  8. Color primaryColor = Colors.blue,
  9. Color successColor = Colors.green,
  10. Color errorColor = Colors.red,
  11. Color warningColor = Colors.orange,
  12. Color borderColor = Colors.blue,
  13. Color textColor = Colors.black,
  14. Color? overlayColor = Colors.white,
  15. double circleSize = 0.65,
  16. double borderWidth = 4,
  17. CircleBorderStyle borderStyle = CircleBorderStyle.solid,
  18. double dashLength = 8.0,
  19. double dashGap = 8.0,
  20. double cameraPadding = 0.0,
  21. String? successAsset,
  22. String? failAsset,
  23. String? fontFamily,
  24. TextStyle? titleTextStyle,
  25. TextStyle? messageTextStyle,
  26. TextStyle? errorTextStyle,
  27. 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,
});