True sign of intelligence is imagination not knowledge….
Long time since my last post Steppers and Forms in Flutter, I was unable to find any interesting topic which would get me out of Cryosleep.
Surfing, searching here and there, until I found out about Firebase. A whole lot of articles are present on the internet regarding Firebase. What possibly I could think of new………..Hmmmmmm
I decided to integrate google sign in with Firebase using Flutter. (Surprise awaits)..

Getting started is simple, follow the steps:
- Go to https://firebase.google.com/
- Click Get started
- Register your app
- A small advice, always fill the SHA certficate fingerprint, even though it says optional
-
SHA-1 Go to
Firebase Authentication -
Click authentication and enable the google sign in (as we are trying for google first)….
All set up, now programming part..
On click of Sign in with Google, the following function is called :

On click of Sign out,

Till, here I did nothing special.
What’s new I did was to display all the details which came from firebase (like a boss )……

_data has 8 fields and providerData is an array…


Video demonstration :
For complete source code, visit
https://github.com/AseemWangoo/flutter_programs/blob/master/GoogleSignIn.zip
P.S………….