-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
17cfefb
commit 2e7473f
Showing
3 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,22 @@ | ||
import 'package:checklst/models/check_if_user_logged_in.dart'; | ||
import 'package:firebase_auth/firebase_auth.dart'; | ||
import 'package:flutter/material.dart'; | ||
import 'package:geocoding/geocoding.dart'; | ||
import 'package:geolocator/geolocator.dart'; | ||
import 'package:flutter/services.dart'; | ||
|
||
CheckIfUserLoggedIn checkIfUserLoggedIn = CheckIfUserLoggedIn(); | ||
String email = checkIfUserLoggedIn.getCurrentUserEmail(); | ||
|
||
class ProfileBody extends StatefulWidget { | ||
@override | ||
_ProfileBodyState createState() => _ProfileBodyState(); | ||
} | ||
|
||
class _ProfileBodyState extends State<ProfileBody> { | ||
String email = '[email protected]'; | ||
String location = 'Mahalaxmi, Mumbai.'; | ||
final FirebaseAuth auth = FirebaseAuth.instance; | ||
|
||
signOut() async { | ||
await auth.signOut(); | ||
} | ||
|
@@ -161,7 +165,7 @@ class _ProfileBodyState extends State<ProfileBody> { | |
), | ||
SizedBox(height: 20.0), | ||
Text( | ||
'If you want to sign out of Checklst App, click Sign Out.', | ||
'If you want to sign out of Checklst App, click Sign Out.', | ||
style: TextStyle( | ||
fontSize: 16.0, | ||
fontFamily: 'WorkSans', | ||
|