DisablingPinConfiguration class
Provides information necessary to draw the screen through which the user can disable the pin that they have already set up before. It requires the correct pin to be entered in order to disable it.
Constructors
- DisablingPinConfiguration({LocalAuthFailure? error, required Widget pinInputWidget, required bool canSubmitChange, required VoidCallback onChangeSubmitted, required VoidCallback onCancel})
-
const
Properties
- canSubmitChange → bool
-
Can optionally be used to controll whether the 'submit' or 'save' button is visible or enabled.
If onChangeSubmitted is triggered while canSubmitChange is
false
, it will result in an error in the configurationfinal - error → LocalAuthFailure?
-
Provides a reason for the error that occured, which makes it possible to display
an apporpriate message to the user
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCancel → VoidCallback
-
A callback that reverts the state of the AuthenticationSetupWidget to Overview state. Intended to be used
as the
onClick
parameter of a 'cancel' buttonfinal - onChangeSubmitted → VoidCallback
-
A callback that notifies the Authenticator that the user wants to attempt to disable pincode.
If a wrong pincode is entered, it results in an error
final
- pinInputWidget → Widget
-
A widget that conforms to the look provided by PinInputBuilder.
The user must enter their current pin in order to disable it.
It should be placed on the screen according to the app's designs
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
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