Check Mobile App
Read now
Start a Project

Google Sign-In In Flutter


Authentication via a social app like- Facebook, Google, Twitter, and Linkedin in the mobile app is the most and commonly used feature.
We can sign up and sign in using the details of which we have used in our social sites/app.

In this article, we are going to explore how we can integrate google sign-in flutter.

So, let’s start.

First, we need to create an account and set up our project on Firebase.
We are assuming that you have set up your project on firebase and are ready to move further in fluter code.
If you didn’t set up your project on firebase then, please follow the LINK and set up your project on firebase.


Add below dependencies in pubspec file pf your project



Let’s take an example.
In this example, we have taken two screens and files.

  1. Main.dart : In which google button is there on which click google authentication will proceed.
  2. HomePage.dart : After succesfull authentiation we will be redireted to another screen on which account details will be displayed.



Now, run the code and check the result.


Google Authentication
Google Authentication

Conclusion :

In this blog, we learn how we can sign in to our app via google.

For more information about social authentication please flow the Link.

Thanks For Reading

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*

Be the first to comment.


When I think in getting solutions for my Ecommerce Platform, I think of Webkul. They have been such a blessing in our business. We have spent thousands of dollars in support and modules from them. We love their support team. They work very closely with us, and they always go the extra mile when we need help.

Michael Urresta

Michael Urresta

Talk to Sales


Live Chat
Start a Project

    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home