VerifyPhoneAction class
An action that is called when user requests a sign in with the phone number. Could be used to show a PhoneInputScreen or trigger a custom logic:
SignInScreen(
actions: [
VerifyPhoneAction((context, action) {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => PhoneInputScreen(),
),
);
}),
]
);
- Inheritance
-
- Object
- FirebaseUIAction
- VerifyPhoneAction
Constructors
- VerifyPhoneAction(void callback(BuildContext context, AuthAction? action))
- An action that is called when user requests a sign in with the phone number. Could be used to show a PhoneInputScreen or trigger a custom logic:
Properties
- callback → void Function(BuildContext context, AuthAction? action)
-
A callback that is being called when the user requests a sign in with the
phone number.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
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