Last active
April 25, 2022 12:39
-
-
Save NoaTubic/4220bc06901d35ef1d0bb36f4982e0e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Future<User> signInWithEmail( | |
BuildContext context, String email, String password) async { | |
final signInFunc = () => FirebaseAuth.instance | |
.signInWithEmailAndPassword(email: email.trim(), password: password); | |
return signInOrCreateAccount(context, signInFunc); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment