CreateSignatureConfig class

Configuration for signature creation (all platforms).

Fields are documented with which platform(s) they apply to.

Constructors

CreateSignatureConfig({String? promptSubtitle, String? promptDescription, String? cancelButtonText, bool? allowDeviceCredentials, bool? shouldMigrate, List<BiometricFallbackOption?>? fallbackOptions})

Properties

allowDeviceCredentials bool?
Android Whether to allow device credentials (PIN/pattern) as fallback.
getter/setter pair
cancelButtonText String?
Android Text 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 have code == BiometricError.fallbackSelected with 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?
Android Description text for the biometric prompt.
getter/setter pair
promptSubtitle String?
Android Subtitle text for the biometric prompt.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldMigrate bool?
iOS Whether 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) CreateSignatureConfig