flutter_social_auth 0.0.3 copy "flutter_social_auth: ^0.0.3" to clipboard
flutter_social_auth: ^0.0.3 copied to clipboard

outdated

Flutter package for login with social accounts like google, facebook, apple

0.0.3 #

Flutter package for login with social accounts like google, facebook, apple

Getting started #

Follow the instructions: google_sign_in here.
flutter_facebook_auth here.
sign_in_with_apple here.

Example #

import 'package:flutter/material.dart';
import 'package:flutter_social_auth/flutter_social_auth.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: AuthView(
        onLogin: (userAuthInfo) {
          if (userAuthInfo != null) {
            print(userAuthInfo);
          }
        },
        appName: 'appName',
        domain: 'https://domain',
        onSendEmailVerifyCode: (result, email) {
          if (result) {
            print(email);
          }
        },
        onVerifyCode: (verifyCodeStatus) {
          print(verifyCodeStatus.name);
        },
      ),
    );
  }
}
0
likes
0
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for login with social accounts like google, facebook, apple

Homepage

License

unknown (license)

Dependencies

crypto, flutter, flutter_facebook_auth, google_sign_in, http, sign_in_with_apple

More

Packages that depend on flutter_social_auth