Created
June 4, 2019 17:52
-
-
Save aaronksaunders/e74e414cbdae184f850bf6cec6151de0 to your computer and use it in GitHub Desktop.
Markdium-Simple Firebase Login Flow in Flutter, Now Firebase
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
children: [ | |
SizedBox(height: 20.0), // ⇐ NEW | |
Text( // ⇐ NEW | |
'Home Page Flutter Firebase Content', | |
style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), | |
), | |
SizedBox(height: 20.0), // ⇐ NEW | |
Text( // ⇐ NEW | |
`Welcome ${widget.currentUser.email}`, | |
style: TextStyle( | |
fontSize: 18, | |
fontWeight: FontWeight.bold, | |
fontStyle: FontStyle.italic), | |
), | |
SizedBox(height: 20.0), | |
RaisedButton( | |
child: Text("LOGOUT"), | |
onPressed: () async { | |
await Provider.of(context).logout(); | |
}) | |
], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment