1final FirebaseAuth _auth = FirebaseAuth.instance;
2
3Future<void> _signOut() async {
4 await _auth.signOut();
5 }
1final FirebaseAuth _auth = FirebaseAuth.instance;
2
3Future<void> _signOut() async {
4 await _auth.signOut();
5 await _googleSignIn.signOut();
6 }
1 Future<Null> _signOut() async {
2 await _auth.signOut();
3 this.setState(() {
4 isLoading = false;
5 });
6 Navigator.of(context).pushAndRemoveUntil(
7 MaterialPageRoute(builder: (context) => MyApp()),
8 (Route<dynamic> route) => false);
9 }