social_login_bloc 0.0.2 copy "social_login_bloc: ^0.0.2" to clipboard
social_login_bloc: ^0.0.2 copied to clipboard

Google and Facebook with Bloc+DI.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add social_login_bloc

With Flutter:

 $ flutter pub add social_login_bloc

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  social_login_bloc: ^0.0.2

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:social_login_bloc/core/authentication/auth_bloc/auth_bloc.dart';
import 'package:social_login_bloc/core/authentication/auth_bloc/auth_bloc.freezed.dart';
import 'package:social_login_bloc/core/authentication/auth_bloc/auth_event.dart';
import 'package:social_login_bloc/core/authentication/auth_bloc/auth_state.dart';
import 'package:social_login_bloc/core/authentication/data/model/social_user_model.dart';
import 'package:social_login_bloc/core/authentication/data/model/social_user_model.g.dart';
import 'package:social_login_bloc/core/authentication/data/repository/auth_repository.dart';
import 'package:social_login_bloc/core/authentication/domain/i_controller/i_controller.dart';
import 'package:social_login_bloc/core/authentication/domain/i_repository/i_repository.dart';
import 'package:social_login_bloc/core/injection/injection.config.dart';
import 'package:social_login_bloc/core/injection/injection.dart';
import 'package:social_login_bloc/core/social_auth_functions/social_auth_functions.dart';
import 'package:social_login_bloc/social_login.dart';