LocalAuthentication class

Settings for local authentication prompts.

Constructors

LocalAuthentication({String? title, String? description, String? cancelTitle, String? fallbackTitle, LocalAuthenticationLevel? authenticationLevel})
const

Properties

authenticationLevel → LocalAuthenticationLevel?
(Android only): The level of authentication required. Defaults to LocalAuthenticationLevel.strong.
final
cancelTitle → String?
(iOS/macOS only): Cancel message to display on the local authentication prompt.
final
description → String?
(Android only): Description to display on the local authentication prompt.
final
fallbackTitle → String?
(iOS/macOS only): Fallback message to display on the local authentication prompt after a failed match.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
Title to display on the local authentication prompt. Defaults to Please authenticate to continue on iOS/macOS, null on Android.
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