BiometricStrings class

String overrides for all user-facing text in the SDK.

Pass this via BiometricConfig.strings to customize copy for localization or branding.

Constructors

BiometricStrings({String? authReason, String? cancelButton, String? useFallbackButton, String? lockoutTitle, String lockoutMessage(Duration remaining)?, String? biometricUnavailableTitle, String? biometricUnavailableMessage, String? biometricInvalidatedTitle, String? biometricInvalidatedMessage})
const

Properties

authReason String?
Fallback auth reason if none is passed to authenticate().
final
biometricInvalidatedMessage String?
Message shown when biometric keys are invalidated.
final
biometricInvalidatedTitle String?
Title shown when biometric keys are invalidated.
final
biometricUnavailableMessage String?
Message shown when biometric is unavailable.
final
biometricUnavailableTitle String?
Title shown when biometric is unavailable.
final
cancelButton String?
Label for the cancel button.
final
hashCode int
The hash code for this object.
no setterinherited
lockoutMessage String Function(Duration remaining)?
Message shown on the lockout screen. Receives remaining duration.
final
lockoutTitle String?
Title shown on the lockout screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useFallbackButton String?
Label for the "use fallback" button.
final

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