Facing the same issues earlier, downgrading the google_sign_in to 6.3.0 fixed it, but I still curious how to use the constructor in the latest version of google_sign_in