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

Login for JagHub.

0
likes
40/ 160
pub points
318
downloads

We analyzed this package 5 days ago, and awarded it 40 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_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_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_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

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 10 issues. Showing the first 2:

ERROR: The named parameter 'pIndex' isn't defined.

lib/authentication.dart:23:44

   ╷
23 │           builder: (context) => Navigation(pIndex: 0, eventsToLoad: "All"),
   │                                            ^^^^^^
   ╵

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

ERROR: The named parameter 'eventsToLoad' isn't defined.

lib/authentication.dart:23:55

   ╷
23 │           builder: (context) => Navigation(pIndex: 0, eventsToLoad: "All"),
   │                                                       ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/authentication.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
auto_size_text 3.0.0 3.0.0 3.0.0
bottom_bar_with_sheet ^2.4.0 2.4.0 2.4.0
cached_network_image 3.2.1 3.2.1 3.4.1
cloud_firestore ^4.3.0 4.17.5 5.6.0
cupertino_icons ^1.0.2 1.0.8 1.0.8
easy_debounce ^2.0.3 2.0.3 2.0.3
firebase_auth ^4.2.3 4.16.0 5.3.4
firebase_core ^2.4.0 2.32.0 3.9.0
firebase_storage ^11.0.6 11.6.5 12.3.7
flutter flutter 0.0.0 0.0.0
flutter_animate 1.0.0 1.0.0 4.5.2
flutter_cache_manager 3.3.0 3.3.0 3.4.1
flutter_calendar_carousel ^2.4.1 2.4.1 2.4.4
flutter_survey ^0.1.4 0.1.4 0.1.4
fluttertoast ^8.2.1 8.2.10 8.2.10
font_awesome_flutter 10.1.0 10.1.0 10.8.0
from_css_color 2.0.0 2.0.0 2.0.0
google_fonts 3.0.1 3.0.1 6.2.1
google_sign_in ^5.0.0 5.4.4 6.2.2
intl 0.17.0 0.17.0 0.20.1
json_path 0.4.1 0.4.1 0.7.4
mad2_db_dataobjects any 1.2.3 1.2.3
mad2_navbar any 1.1.6 1.3.6
material_design_icons_flutter ^6.0.7096 6.0.7296 7.0.7296
page_transition 2.0.4 2.0.4 2.1.0
provider 6.0.4 6.0.4 6.1.2
qr_code_scanner ^1.0.1 1.0.1 1.0.1
shared_preferences 2.0.15 2.0.15 2.3.4
sqflite 2.2.0+2 2.2.0+2 2.4.1
timeago 3.2.2 3.2.2 3.7.0
url_launcher 6.1.5 6.1.5 6.3.1
webview_flutter ^4.0.7 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_flutterfire_internals - 1.3.35 1.3.48
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
args - 2.6.0 2.6.0
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
build - 2.4.2 2.4.2
build_config - 1.1.2 1.1.2
build_daemon - 4.0.3 4.0.3
build_resolvers - 2.4.3 2.4.3
build_runner - 2.4.14 2.4.14
build_runner_core - 8.0.0 8.0.0
built_collection - 5.1.1 5.1.1
built_value - 8.9.3 8.9.3
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.4.0
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.2
cloud_firestore_platform_interface - 6.2.5 6.6.0
cloud_firestore_web - 3.12.5 4.4.0
code_builder - 4.10.1 4.10.1
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 3.0.1 3.0.1
diffutil_dart - 3.0.0 4.0.1
diffutil_sliverlist - 0.5.1 0.5.1
equatable - 2.0.7 2.0.7
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.10
firebase_auth_web - 5.8.13 5.13.5
firebase_core_platform_interface - 5.4.0 5.4.0
firebase_core_web - 2.19.0 2.19.0
firebase_storage_platform_interface - 5.1.22 5.1.34
firebase_storage_web - 3.6.22 3.10.6
fixnum - 1.1.1 1.1.1
flutter_blurhash - 0.7.0 0.8.2
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
google_sign_in_android - 6.1.34 6.1.34
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+3
graphs - 2.3.2 2.3.2
http - 0.13.6 1.2.2
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.1 4.1.1
io - 1.0.5 1.0.5
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
json_serializable - 6.9.2 6.9.2
leak_tracker - 10.0.7 10.0.8
leak_tracker_flutter_testing - 3.0.8 3.0.9
leak_tracker_testing - 3.0.1 3.0.1
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
mad2_browsepage - 1.9.4 2.0.8
mad2_home - 1.3.0 1.3.0
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
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.1 2.1.1
path - 1.9.0 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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
pub_semver - 2.1.5 2.1.5
pubspec_parse - 1.4.0 1.4.0
rfc_6901 - 0.1.1 0.2.0
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.4.0 2.4.0
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.2 1.4.2
shelf_web_socket - 2.0.1 2.0.1
sky_engine - 0.0.0 0.0.0
source_gen - 2.0.0 2.0.0
source_helper - 1.3.5 1.3.5
source_span - 1.10.0 1.10.1
sqflite_common - 2.5.4+6 2.5.4+6
stack_trace - 1.12.0 1.12.1
stream_channel - 2.1.2 2.1.3
stream_transform - 2.1.1 2.1.1
string_scanner - 1.3.0 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.2
test_api - 0.7.3 0.7.4
timing - 1.0.2 1.0.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
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.3.0 15.0.0
watcher - 1.1.1 1.1.1
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_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

Found 19 issues. Showing the first 2:

The constraint `3.2.1` on cached_network_image does not support the stable version `3.2.2`.

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

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.

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 10 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/authentication.dart:23:44 - The named parameter 'pIndex' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/authentication.dart:23:55 - The named parameter 'eventsToLoad' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/google_sign_in_button.dart:56:38 - The named parameter 'pIndex' 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.