Refactor and date picker
This commit is contained in:
@@ -48,6 +48,9 @@ class LoginState with ChangeNotifier {
|
||||
|
||||
Future<FirebaseUser> _handleSignIn() async {
|
||||
final GoogleSignInAccount googleUser = await _googleSignIn.signIn();
|
||||
if (googleUser == null) {
|
||||
return null;
|
||||
}
|
||||
final GoogleSignInAuthentication googleAuth = await googleUser.authentication;
|
||||
|
||||
final AuthCredential credential = GoogleAuthProvider.getCredential(
|
||||
|
||||
Reference in New Issue
Block a user