BiometricConfig constructor

const BiometricConfig({
  1. String? lockOut,
  2. String? goToSettingsButton,
  3. String? goToSettingsDescription,
  4. String? cancelButton,
  5. String? localizedFallbackTitle,
  6. String? biometricHint,
  7. String? biometricNotRecognized,
  8. String? biometricRequiredTitle,
  9. String? biometricSuccess,
  10. String? deviceCredentialsRequiredTitle,
  11. String? deviceCredentialsSetupDescription,
  12. String? signInTitle,
  13. String deviceException = "Device isn't supported!",
  14. String failureException = "Biometric matching failed!",
  15. String checkingException = "Can not check biometrics!",
  16. String localizedReason = "Scan your fingerprint (or face or whatever) to authenticate",
  17. IBiometricOptions options = const IBiometricOptions(stickyAuth: true, biometricOnly: true),
})

Implementation

const BiometricConfig({
  // Ios
  this.lockOut,
  this.goToSettingsButton,
  this.goToSettingsDescription,
  this.cancelButton,
  this.localizedFallbackTitle,
  // Android
  this.biometricHint,
  this.biometricNotRecognized,
  this.biometricRequiredTitle,
  this.biometricSuccess,
  this.deviceCredentialsRequiredTitle,
  this.deviceCredentialsSetupDescription,
  this.signInTitle,
  // Base
  this.deviceException = "Device isn't supported!",
  this.failureException = "Biometric matching failed!",
  this.checkingException = "Can not check biometrics!",
  this.localizedReason =
      "Scan your fingerprint (or face or whatever) to authenticate",
  this.options = const IBiometricOptions(
    stickyAuth: true,
    biometricOnly: true,
  ),
});