LivenessCooldownWidget constructor

const LivenessCooldownWidget({
  1. Key? key,
  2. required LivenessDetectionCooldown cooldownState,
  3. bool isDarkMode = true,
  4. VoidCallback? onCooldownComplete,
  5. int maxFailedAttempts = 3,
})

Implementation

const LivenessCooldownWidget({
  super.key,
  required this.cooldownState,
  this.isDarkMode = true,
  this.onCooldownComplete,
  this.maxFailedAttempts = 3,
});