AuthenticationLocalizationOptions class
Options to pass custom localized strings to the LocalAuth plugin
See LocalAuthentication.authenticate
for the messages
Constructors
-
AuthenticationLocalizationOptions({String? localizedReason, bool userErrorDialogs = true, Iterable<
AuthMessages> authMessages = const <AuthMessages>[IOSAuthMessages(), AndroidAuthMessages(), WindowsAuthMessages()]}) -
const
Properties
-
authMessages
→ Iterable<
AuthMessages> -
Platform specific messages that can be used to customize messages in the dialogs.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- localizedReason → String?
-
The message to show the user while prompting them for authentication.
This is typically along the lines of 'Authenticate to acce MyApp.'.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userErrorDialogs → bool
-
Whether the system will attempt to handle user-fixable issues encountered
while authenticating.
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