EmailLinkSignInAction class

An action that indicates that email link sign in flow was triggered from the UI.

Could be used to show a EmailLinkSignInScreen or trigger a custom logic:

SignInScreen(
  actions: [
    EmailLinkSignInAction((context) {
      Navigator.of(context).push(
        MaterialPageRoute(
          builder: (context) => EmailLinkSignInScreen(),
        ),
      );
    }),
  ]
);
Inheritance

Constructors

EmailLinkSignInAction(void callback(BuildContext context))
An action that indicates that email link sign in flow was triggered from the UI.

Properties

callback → void Function(BuildContext context)
A calback that is being called when a email link sign in flow is triggered from the UI.
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