LivenessCooldownWidget constructor
const
LivenessCooldownWidget({
- Key? key,
- required LivenessDetectionCooldown cooldownState,
- bool isDarkMode = true,
- VoidCallback? onCooldownComplete,
- int maxFailedAttempts = 3,
Implementation
const LivenessCooldownWidget({
super.key,
required this.cooldownState,
this.isDarkMode = true,
this.onCooldownComplete,
this.maxFailedAttempts = 3,
});