I found a package that supports Google Sign-In for all platforms including Windows and Linux. It is called google_sign_in_all_platforms. I have been using it for quite a while, and it works like a charm.