Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception caught by gesture #23

Open
subhangpati opened this issue Aug 2, 2020 · 1 comment
Open

Exception caught by gesture #23

subhangpati opened this issue Aug 2, 2020 · 1 comment

Comments

@subhangpati
Copy link

subhangpati commented Aug 2, 2020

The following NoSuchMethodError was thrown while handling a gesture:
The getter 'email' was called on null.
Receiver: null
Tried calling: email
// This is the message that I am getting
Screenshot (83)

Need help to resolve this.

flutter/flutter#62747
Here is the full code I posted on official flutter community

@Nik8110
Copy link

Nik8110 commented Nov 9, 2020

FlatButton(
onPressed: () {
//Implement send functionality.
_firestore.collection('message').add({
'sender':_auth.currentUser.email,
'send': messages,
});
},

simply put this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants