EmailPasswordLoginForm constructor
- required FutureOr<
void> onLogin(), - Key? key,
- void onForgotPassword(
- String email,
- BuildContext ctx
- FutureOr<
void> onRegister(- String email,
- String password,
- BuildContext context
- LoginOptions options = const LoginOptions(),
Constructs an EmailPasswordLoginForm widget.
onLogin: Callback function for user login. onForgotPassword: Callback function for when the user forgets their password. onRegister: Callback function for user registration. options: The options for configuring the login form.
Implementation
const EmailPasswordLoginForm({
required this.onLogin,
super.key,
this.onForgotPassword,
this.onRegister,
this.options = const LoginOptions(),
});