DecryptConfig class
Configuration for decryption (all platforms).
Fields are documented with which platform(s) they apply to. Note: Decryption is not supported on Windows.
Constructors
-
DecryptConfig({String? promptSubtitle, String? promptDescription, String? cancelButtonText, bool? allowDeviceCredentials, bool? shouldMigrate, List<
BiometricFallbackOption?> ? fallbackOptions})
Properties
- allowDeviceCredentials ↔ bool?
-
AndroidWhether to allow device credentials (PIN/pattern) as fallback.getter/setter pair - cancelButtonText ↔ String?
-
AndroidText for the cancel button in the biometric prompt.getter/setter pair -
fallbackOptions
↔ List<
BiometricFallbackOption?> ? -
Android 15+Custom fallback buttons shown on the biometric prompt. When provided, these replace the default cancel button. If the user taps a fallback option, the result will havecode == BiometricError.fallbackSelectedwith the selected option's index and text. On other platforms, this field is ignored.getter/setter pair - hashCode → int
-
The hash code for this object.
no setteroverride
- promptDescription ↔ String?
-
AndroidDescription text for the biometric prompt.getter/setter pair - promptSubtitle ↔ String?
-
AndroidSubtitle text for the biometric prompt.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldMigrate ↔ bool?
-
iOSWhether to migrate from legacy keychain storage.getter/setter pair
Methods
-
encode(
) → Object -
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.
override
Static Methods
-
decode(
Object result) → DecryptConfig