onToggleBiometric property

VoidCallback onToggleBiometric
final

A callback notifying Authenticator that the user wants to enable or disable biometric authentication. Can be passed as the onClick parameter to a "toggle biometrics button". Triggering this callback when isBiometricAuthAvailable results in an appropriate LocalAuthFailure error

Implementation

final VoidCallback onToggleBiometric;