BiometricX class

BiometricX flutter plugin to connect with native android BiometricX.

Constructors

BiometricX()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

isEnabled Future<bool>
Returns true if device can use biometric.
no setter
type Future<BiometricType>
Get the BiometricType available on the device.
no setter

Static Methods

decrypt({required String biometricKey, required String messageKey, String title = 'Biometric Authentication', String subtitle = 'Enter biometric credentials to proceed', String description = '', String negativeButtonText = 'CANCEL', bool confirmationRequired = false, bool deviceCredentialAllowed = false}) Future<BiometricResult>
Decrypt message using biometric.
encrypt({required String biometricKey, required String message, String messageKey = '', String title = 'Biometric Authentication', String subtitle = 'Enter biometric credentials to proceed', String description = '', String negativeButtonText = 'CANCEL', bool confirmationRequired = false, bool deviceCredentialAllowed = false}) Future<BiometricResult>
Encrypt message using biometric.