skip to Main Content

Displaying the data from the firebase in list that if I pressed on one of its item it takes me to a full data page – Flutter

I'm using flutter web in my graduation project and saving my data in the firebase so I'm displaying my data by the following code StreamBuilder<QuerySnapshot> ( stream: FirebaseFirestore.instance.collection('Guests').snapshots(), builder: (context, snapshots) { return (snapshots.connectionState == ConnectionState.waiting) ? Center( child: CircularProgressIndicator(),)…

VIEW QUESTION

How to Handle Firebase Auth exceptions on flutter

I can't handle an error if the user tries to sign up using an already existing email Future _createUser(Users user, String name, x) async { UserCredential result = await FirebaseAuth.instance .createUserWithEmailAndPassword( email: _emailController.text.trim(), password: _passwordController.text.trim()); try { result; } on…

VIEW QUESTION
Back To Top
Search