Answers for "user registration flutter with firebase"

5

getting uid of user firebase flutter

final FirebaseUser user = await auth.currentUser();
final userid = user.uid;
Posted by: Guest on May-13-2020
0

registration in flutter

onPressed: () async {
                  setState(() {
                    spooner = true;
                  });
                  try {
                    final newUser = await _auth.createUserWithEmailAndPassword(
                        email: email, password: password);
                    if (newUser != null) {
                      Navigator.pushNamed(context, ChatScreen.id);
                    }
                    setState(() {
                      spooner = false;
                    });
                  } catch (e) {
                    print(e);
                  }
Posted by: Guest on August-30-2020

Code answers related to "user registration flutter with firebase"

Browse Popular Code Answers by Language