social_login_bloc 0.0.9 social_login_bloc: ^0.0.9 copied to clipboard
Google and Facebook with Bloc+DI.
Use this package as a library
Depend on it
Run this command:
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 flutter pub get
):
dependencies:
social_login_bloc: ^0.0.9
Alternatively, your editor might support 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/module_injection.config.dart';
import 'package:social_login_bloc/core/injection/module_injection.dart';
import 'package:social_login_bloc/core/social_auth_functions/social_auth_functions.dart';
import 'package:social_login_bloc/social_login.dart';