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

Google and Facebook with Bloc+DI.

1
likes
110/ 160
pub points
11%
popularity

We analyzed this package 2 hours ago, and awarded it 110 pub points (of a possible 160):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

106 out of 175 API elements (60.6 %) have documentation comments.

Some symbols that are missing documentation: auth_bloc, auth_bloc.AuthBloc, auth_bloc.AuthBloc.AuthBloc, auth_bloc.AuthBloc.controller, auth_bloc.AuthEvent.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ macOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:social_login_bloc/core/authentication/auth_bloc/auth_bloc.dart that imports:
  • package:social_login_bloc/core/authentication/domain/i_controller/i_controller.dart that imports:
  • package:social_login_bloc/core/authentication/domain/i_repository/i_repository.dart that imports:
  • package:social_login_bloc/core/authentication/data/model/social_user_model.dart that imports:
  • package:flutter_facebook_auth/flutter_facebook_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:social_login_bloc/core/authentication/auth_bloc/auth_bloc.dart that imports:
  • package:social_login_bloc/core/authentication/domain/i_controller/i_controller.dart that imports:
  • package:social_login_bloc/core/authentication/domain/i_repository/i_repository.dart that imports:
  • package:social_login_bloc/core/authentication/data/model/social_user_model.dart that imports:
  • package:flutter_facebook_auth/flutter_facebook_auth.dart that declares support for platforms: Android, iOS, macOS, Web.
failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/core/authentication/auth_bloc/auth_bloc.freezed.dart:137:17

    ╷
137 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/authentication/auth_bloc/auth_bloc.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/core/authentication/auth_bloc/auth_bloc.freezed.dart:319:17

    ╷
319 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/authentication/auth_bloc/auth_bloc.freezed.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
flutter_bloc ^8.1.3 8.1.6 8.1.6
flutter_facebook_auth ^5.0.11 5.0.11 7.0.0
freezed ^2.4.1 2.5.2 2.5.3
freezed_annotation ^2.4.1 2.4.1 2.4.1
get_it ^7.6.4 7.7.0 7.7.0
google_sign_in ^6.1.5 6.2.1 6.2.1
injectable ^2.3.0 2.4.2 2.4.2
json_serializable ^6.4.0 6.8.0 6.8.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 72.0.0
analyzer - 6.4.1 6.7.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
bloc - 8.1.4 8.1.4
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.3.6 2.3.6
facebook_auth_desktop - 0.0.9 2.0.0
file - 7.0.0 7.0.0
flutter_facebook_auth_platform_interface - 4.1.1 6.0.0
flutter_facebook_auth_web - 4.1.1 6.0.0
flutter_secure_storage - 8.1.0 9.2.2
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 2.1.1 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
glob - 2.1.2 2.1.2
google_identity_services_web - 0.3.1+1 0.3.1+1
google_sign_in_android - 6.1.24 6.1.24
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4 0.12.4
http - 0.13.6 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^5.0.11` on flutter_facebook_auth does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_facebook_auth to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.