SMSCodeRequestedAction class
An action that is called when user requests a sign in with the phone number. Could be used to show a SMSCodeInputScreen or trigger a custom logic:
SignInScreen(
actions: [
SMSCodeRequestedAction((context, action, flowKey, phoneNumber) {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => SMSCodeInputScreen(),
),
);
}),
]
);
- Inheritance
-
- Object
- FirebaseUIAction
- SMSCodeRequestedAction
Constructors
- SMSCodeRequestedAction(void callback(BuildContext context, AuthAction? action, Object flowKey, String phoneNumber))
- An action that is called when user requests a sign in with the phone number. Could be used to show a SMSCodeInputScreen or trigger a custom logic:
Properties
- callback → void Function(BuildContext context, AuthAction? action, Object flowKey, String phoneNumber)
-
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