google_login 1.0.3
google_login: ^1.0.3 copied to clipboard
A Flutter package for Google login using firebase
Google Login #
A Flutter package for Google sign-in using Firebase.
Features: #
- Google login functionality using firebase
Usage: #
This package used to sign in to the google by using the authService.signInWithGoogle() method of this package, First you need to add or connect your flutter application with firebase and add the dependency required for this package to run
Get Started: #
AuthServiceForGoogle()
Import: #
import 'package:google_login/google_login_module.dart';
// Instantiate the AuthServiceForGoogle
final authService = AuthServiceForGoogle();
// Call the signInWithGoogle method to initiate the Google sign-in process
authService.signInWithGoogle()
Dependencies: #
For sign in with Google, this package contains the following dependencies in the yaml file, which must be upgraded in the future.
dependencies:
firebase_auth: ^4.15.2
google_sign_in: ^6.2.0
Installation: #
Add the following to your pubspec.yaml
file to use this package for google login:
dependencies:
google_login: ^1.0.3