google_sign_in 5.0.0
google_sign_in: ^5.0.0 copied to clipboard

Flutter Android iOS web

Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account on Android and iOS.

778
likes
90 / 110
pub points
99 %
popularity

We analyzed this package on Mar 3, 2021, and awarded it 90 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/lib/main.dart

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

  • 60 out of 65 API elements (92.3 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 3 of 3 possible platforms (iOS, Android, Web)

Found 4 issues. Showing the first 2:

Consider supporting these prerelease platforms:

Package does not support Flutter platform Windows

Because:

  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, Web
Pass static analysis
20 / 30

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

INFO: The operand can't be null, so the condition is always true.

lib/google_sign_in.dart:48:15

   ╷
48 │     assert(id != null);
   │               ^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/google_sign_in.dart

INFO: The operand can't be null, so the condition is always true.

lib/widgets.dart:29:24

   ╷
29 │   }) : assert(identity != null);
   │                        ^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run flutter analyze lib/widgets.dart

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because google_sign_in depends on integration_test from path which doesn't exist (could not find package integration_test at "../../integration_test"), version solving failed.

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

Support sound null-safety
0 / 0

0/0 points: Package and dependencies are fully migrated to null-safety, and will be awarded additional points in a planned future revision of the pub.dev points model.

Analysed with Pana 0.15.3, Flutter 2.0.0, Dart 2.12.0.

778
likes
90
pub points
99%
popularity

Publisher

flutter.dev

Flutter plugin for Google Sign-In, a secure authentication system for signing in with a Google account on Android and iOS.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD (LICENSE)

Dependencies

flutter, google_sign_in_platform_interface, google_sign_in_web, meta

More

Packages that depend on google_sign_in