skip to Main Content

Flutter/Dart/Firebase Creating User – This expression has a type of 'void' so its value can't be used

I have following code which does not work somehow: Future<void> createUserWithEmailAndPassword() async { //try nutzer erstellen try { UserCredential userCredential = await Auth().createUserWithEmailAndPassword( email: _controllerEmail.text, password: _controllerPassword.text ); } catch (e) { if (e is FirebaseAuthException) { setState(() { errorMessage…

VIEW QUESTION
Back To Top
Search