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.


All communication is done through a ticket system. I appreciate the regular almost daily updates of what is being worked on, and communicating changes or updates is easy through this system. Mobikul's response timeframe is quick.

Josh Arnold

Josh Arnold

Owner, Shop ATV Escape

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