mad2_login 1.1.1 copy "mad2_login: ^1.1.1" to clipboard
mad2_login: ^1.1.1 copied to clipboard

Login for JagHub.

0
likes
70/ 160
pub points
1%
popularity

We analyzed this package 4 hours ago, and awarded it 70 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.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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.

failed
Provide documentation
0 / 20trigger folding of the section

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

4 out of 27 API elements (14.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: authentication, authentication.Authentication, authentication.Authentication.Authentication, authentication.Authentication.customSnackBar, authentication.Authentication.initializeFirebase.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:mad2_login/authentication.dart that imports:
  • package:mad2_home/homepage.dart that imports:
  • package:mad2_home/user_itemsview.dart that imports:
  • package:mad2_shop/confirmation_page.dart that imports:
  • package:mad2_navbar/navigation.dart that imports:
  • package:mad2_shop/shop_page.dart that imports:
  • package:mad2_shop/den_page.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:mad2_login/authentication.dart that imports:
  • package:mad2_login/firebase_options.dart that imports:
  • package:firebase_core/firebase_core.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mad2_login/authentication.dart that imports:
  • package:mad2_home/homepage.dart that imports:
  • package:mad2_home/user_itemsview.dart that imports:
  • package:mad2_shop/confirmation_page.dart that imports:
  • package:mad2_navbar/navigation.dart that imports:
  • package:mad2_shop/shop_page.dart that imports:
  • package:mad2_shop/prize_landingpage.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:mad2_login/authentication.dart that imports:
  • package:mad2_home/homepage.dart that imports:
  • package:mad2_home/user_itemsview.dart that imports:
  • package:mad2_shop/confirmation_page.dart that imports:
  • package:mad2_navbar/navigation.dart that imports:
  • package:mad2_shop/shop_page.dart that imports:
  • package:mad2_shop/den_page.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mad2_login/authentication.dart that imports:
  • package:mad2_login/firebase_options.dart that imports:
  • package:firebase_core/firebase_core.dart that imports:
  • package:firebase_core_platform_interface/firebase_core_platform_interface.dart that imports:
  • package:firebase_core_platform_interface/src/pigeon/test_api.dart that imports:
  • package:flutter_test/flutter_test.dart that imports:
  • package:flutter_test/src/widget_tester.dart that imports:
  • package:flutter_test/src/test_text_input.dart that imports:
  • package:flutter_test/src/test_text_input_key_handler.dart that imports:
  • package:flutter_test/src/binding.dart that imports:
  • package:flutter_test/src/platform.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full 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: Unused import: 'package:mad2_home/homepage.dart'.

lib/authentication.dart:8:8

  ╷
8 │ import 'package:mad2_home/homepage.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: 'package:mad2_home/homepage.dart'.

lib/google_sign_in_button.dart:5:8

  ╷
5 │ import 'package:mad2_home/homepage.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/google_sign_in_button.dart

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

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

Package Constraint Compatible Latest
cloud_firestore ^4.3.0 4.17.5 5.4.4
cupertino_icons ^1.0.2 1.0.8 1.0.8
firebase_auth ^4.2.3 4.16.0 5.3.1
firebase_core ^2.4.0 2.32.0 3.6.0
firebase_storage ^11.0.6 11.6.5 12.3.4
flutter flutter 0.0.0 0.0.0
google_sign_in ^5.0.0 5.4.4 6.2.2
mad2_db_dataobjects any 1.2.3 1.2.3
mad2_home any 1.3.0 1.3.0
mad2_navbar any 1.1.6 1.3.6
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 76.0.0
_flutterfire_internals - 1.3.35 1.3.44
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.11.0
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
auto_size_text - 3.0.0 3.0.0
boolean_selector - 2.1.1 2.1.2
bottom_bar_with_sheet - 2.4.0 2.4.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
build_daemon - 4.0.2 4.0.2
build_resolvers - 2.4.2 2.4.2
build_runner - 2.4.13 2.4.13
build_runner_core - 7.3.2 7.3.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
cached_network_image - 3.2.1 3.4.1
cached_network_image_platform_interface - 1.0.0 4.1.1
cached_network_image_web - 1.0.1 1.3.1
characters - 1.3.0 1.3.1
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 6.2.5 6.4.3
cloud_firestore_web - 3.12.5 4.3.2
code_builder - 4.10.1 4.10.1
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
diffutil_dart - 3.0.0 4.0.1
diffutil_sliverlist - 0.5.1 0.5.1
drop_shadow_image - 0.9.1 0.9.1
easy_debounce - 2.0.3 2.0.3
equatable - 2.0.5 2.0.5
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
firebase_auth_platform_interface - 7.3.0 7.4.7
firebase_auth_web - 5.8.13 5.13.2
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.18.1 2.18.1
firebase_storage_platform_interface - 5.1.22 5.1.31
firebase_storage_web - 3.6.22 3.10.3
fixnum - 1.1.1 1.1.1
flutter_animate - 1.0.0 4.5.0
flutter_blurhash - 0.7.0 0.8.2
flutter_cache_manager - 3.3.0 3.4.1
flutter_survey - 0.1.4 0.1.4
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
fluttertoast - 8.2.8 8.2.8
font_awesome_flutter - 10.1.0 10.8.0
from_css_color - 2.0.0 2.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
google_fonts - 3.0.1 6.2.1
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.10.2+1 0.12.4+2
graphs - 2.3.2 2.3.2
http - 0.13.6 1.2.2
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.1.1
intl - 0.17.0 0.19.0
io - 1.0.4 1.0.4
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
json_path - 0.4.1 0.7.4
json_serializable - 6.8.0 6.8.0
leak_tracker - 10.0.5 10.0.8
leak_tracker_flutter_testing - 3.0.5 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
mad2_browsepage - 1.9.9 2.0.8
mad2_groups - 1.0.3 1.0.3
mad2_leaderboard - 1.4.4 1.4.4
mad2_shop - 1.4.6 1.4.6
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
material_design_icons_flutter - 6.0.7096 7.0.7296
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
octo_image - 1.0.2 2.1.0
package_config - 2.1.0 2.1.0
page_transition - 2.0.4 2.1.0
path - 1.9.0 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
provider - 6.0.4 6.1.2
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
random_string - 2.3.1 2.3.1
rfc_6901 - 0.1.1 0.2.0
rxdart - 0.27.7 0.28.0
shared_preferences - 2.0.15 2.3.2
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_ios - 2.1.1 2.1.1
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_macos - 2.0.5 2.0.5
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
shelf - 1.4.1 1.4.2
shelf_web_socket - 2.0.0 2.0.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
sqflite - 2.2.0+2 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
stack_trace - 1.11.1 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.2 0.7.3
timeago - 3.2.2 3.7.0
timing - 1.0.1 1.0.1
typed_data - 1.4.0 1.4.0
url_launcher - 6.1.5 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.2.0 3.2.0
url_launcher_macos - 3.2.1 3.2.1
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 3.0.7 4.5.1
vector_math - 2.1.4 2.1.4
vm_service - 14.2.5 14.3.1
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webview_flutter - 4.10.0 4.10.0
webview_flutter_android - 4.0.1 4.0.1
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.1 3.16.1
xdg_directories - 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.

Found 5 issues. Showing the first 2:

The constraint `^4.3.0` on cloud_firestore does not support the stable version `5.0.0`.

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

The constraint `^4.2.3` on firebase_auth does not support the stable version `5.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/google_sign_in_button.dart:238:11 - The named parameter 'pendingPurchasedItems' isn't defined.
  • UNDEFINED_GETTER - lib/google_sign_in_button.dart:238:46 - The getter 'pendingPurchasedItems' isn't defined for the type 'UserData'.
  • UNDEFINED_NAMED_PARAMETER - lib/google_sign_in_button.dart:239:11 - The named parameter 'spendablePoints' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.