third_party_login 1.0.0 third_party_login: ^1.0.0 copied to clipboard
Third Party Login is simple way to sign-in with different types of third party login systems.
Third Party Login #
Third Party Login is simple way to sign-in with different types of third party login systems.
Features #
Login With Google SignIn
Getting started #
First you need to follow Google sign-in package instructions see Google Sign-In Git repo
Usage #
1. Add the package to pubspec.yaml dependency:
dependencies:
third_party_login: ^1.0.0
2. Import package:
import 'package:third_party_login/third_party_login.dart';
3. Initialize ThirdPartyLoginMethods
ThirdPartyLoginMethods thirdPartyLoginMethods = ThirdPartyLoginMethods();
4. call socialMediaLogin and pass AuthType
final userCredential = await thirdPartyLoginMethods.socialMediaLogin(
authType: AuthType.google);