BiometricButton constructor

const BiometricButton({
  1. Key? key,
  2. BiometricButtonType type = BiometricButtonType.fingerprint,
  3. Future<bool> onAuthenticate()?,
  4. double size = 80,
  5. Color? color,
  6. String label = 'Touch to Authenticate',
  7. String successLabel = 'Authenticated',
  8. String failureLabel = 'Try Again',
})

Implementation

const BiometricButton({
  super.key,
  this.type = BiometricButtonType.fingerprint,
  this.onAuthenticate,
  this.size = 80,
  this.color,
  this.label = 'Touch to Authenticate',
  this.successLabel = 'Authenticated',
  this.failureLabel = 'Try Again',
});