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
0%
popularity

We analyzed this package 27 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 173 API elements (61.3 %) 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.

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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.1.1
freezed ^2.4.1 2.5.7 2.5.7
freezed_annotation ^2.4.1 2.4.4 2.4.4
get_it ^7.6.4 7.7.0 8.0.2
google_sign_in ^6.1.5 6.2.2 6.2.2
injectable ^2.3.0 2.5.0 2.5.0
json_serializable ^6.4.0 6.8.0 6.8.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 76.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.11.0
args - 2.6.0 2.6.0
async - 2.12.0 2.12.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.1
checked_yaml - 2.0.3 2.0.3
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 2.3.7
facebook_auth_desktop - 0.0.9 2.1.1
file - 7.0.1 7.0.1
flutter_facebook_auth_platform_interface - 4.1.1 6.1.2
flutter_facebook_auth_web - 4.1.1 6.1.2
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.2 0.3.2
google_sign_in_android - 6.1.33 6.1.33
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+3 0.12.4+3
http - 0.13.6 1.2.2
http_parser - 4.0.2 4.1.1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
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.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
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.

The constraint `^7.6.4` on get_it does not support the stable version `8.0.0`.

Try running dart pub upgrade --major-versions get_it 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.