You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Login/sign up form not changing according to login user type. The following code showing login/sign up page for "Email and password" not according to phone number.
When putting phone number as additionalsignup field with usertype phone, its working as expected. But whatever I choose usertype in flutter login form, regardless that, its always starting with with default behaviour.
Login/sign up form not changing according to login user type. The following code showing login/sign up page for "Email and password" not according to phone number.
Code is as following:
Widget build(BuildContext context) {
return FlutterLogin(
userType: LoginUserType.phone,
title: 'test',
logo: AssetImage('assets/images/r-logo.png'),
onLogin: _authUser,
onSignup: _signupUser,
onSubmitAnimationCompleted: () {
// Navigator.of(context).pushReplacement(MaterialPageRoute(
// builder: (context) => DashboardScreen(),
// ));
Get.snackbar('Login', 'Login Successful');
},
initialAuthMode: AuthMode.signup,
onRecoverPassword: _recoverPassword,
);
}
The text was updated successfully, but these errors were encountered: