A unified biometric authentication service (Face ID / Touch ID / Fingerprint).
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
-
availableBiometrics
→ Future<
List< BiometricType> > -
Returns the list of enrolled biometric types on this device.
no setter
-
customAuthenticator
↔ Future<
bool> Function({required String localizedReason, bool useErrorDialogs})? -
Pluggable biometric authenticator implementation.
getter/setter pair
-
customAvailabilityChecker
↔ Future<
bool> Function()? -
Pluggable biometric availability checker.
getter/setter pair
-
customTypesChecker
↔ Future<
List< Function()?BiometricType> > -
Pluggable available types checker.
getter/setter pair
-
isAvailable
→ Future<
bool> -
Whether biometric authentication hardware is available and enrolled.
no setter
Static Methods
-
authenticate(
{required String localizedReason, bool useErrorDialogs = true}) → Future< bool> -
Prompts the user for biometric authentication with
localizedReason.