I am unable to access document field from cloud firestore and show it in a statefulwidget class in flutter
I want to acess the uname field of the current loggedin user . I added uname in the registration screen like this : onPressed: () async { try { final newuser = await FirebaseAuth.instance .createUserWithEmailAndPassword( email: email ?? 'error', password:…