Created
June 2, 2019 00:45
-
-
Save aaronksaunders/843849b98fc89a50c1ac00a16da05ff9 to your computer and use it in GitHub Desktop.
Markdium-
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Validate will return true if is valid, or false if invalid. | |
| if (form.validate()) { | |
| var result = await Provider.of(context) | |
| .loginUser(email: _email, password: _password); | |
| if (result == null) { | |
| // see project in github for this code | |
| //return _buildShowErrorDialog(context, | |
| // "Error Logging In With Those Credentials"); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment