flutter_firebase_auth_example
flutter_firebase_auth_example copied to clipboard
Flutter firebase authentication email and password example with firestore, local shared preferences and state management.
I/flutter ( 4622): Sign In Error: NoSuchMethodError: The getter 'data' was called on null. I/flutter ( 4622): Receiver: null I/flutter ( 4622): Tried calling: data E/flutter ( 4622): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled...
Why is this line of code showing error : FirebaseUser user = await FirebaseAuth.instance .createUserWithEmailAndPassword(email: email, password: password); ???
After Sign-up is successful the user should be signed in and shouldn't have to enter credentials on the sign-in screen again