mad2_addevent 1.0.1+8 copy "mad2_addevent: ^1.0.1+8" to clipboard
mad2_addevent: ^1.0.1+8 copied to clipboard

Adds an event for MAD 2.0.

0
likes
50/ 160
pub points
0%
popularity

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

Repository URL doesn't exist.

At the time of the analysis https://github.com/MahirEmran/MAD2_addevent.git was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: mad2_addevent,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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
10 / 20trigger folding of the section

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

3 out of 13 API elements (23.1 %) have documentation comments.

Some symbols that are missing documentation: add_event, add_event.AddEventPage, add_event.AddEventPage.AddEventPage, main, main.MyApp.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:mad2_addevent/add_event.dart that imports:
  • package:mad2_browsepage/browse_page.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:mad2_addevent/add_event.dart that imports:
  • package:mad2_browsepage/browse_page.dart that imports:
  • package:mad2_db_dataobjects/API.dart that imports:
  • package:firebase_auth/firebase_auth.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:mad2_addevent/add_event.dart that imports:
  • package:mad2_browsepage/browse_page.dart that imports:
  • package:fluttertoast/fluttertoast.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:mad2_addevent/add_event.dart that imports:
  • package:mad2_browsepage/browse_page.dart that imports:
  • package:mad2_db_dataobjects/API.dart that imports:
  • package:firebase_auth/firebase_auth.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

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 4 issues. Showing the first 2:

ERROR: The getter 'headline4' isn't defined for the type 'TextTheme'.

lib/main.dart:104:50

    ╷
104 │               style: Theme.of(context).textTheme.headline4,
    │                                                  ^^^^^^^^^
    ╵

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

INFO: Unnecessary cast.

lib/add_event.dart:1153:67

     ╷
1153 │ ┌                                                                   DateTime.now()
1154 │ │                                                                           .hour
1155 │ │                                                                       as int;
     │ └────────────────────────────────────────────────────────────────────────────^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/add_event.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
cached_network_image 3.2.1 3.2.1 3.4.1
easy_debounce 2.0.1 2.0.1 2.0.3
flutter flutter 0.0.0 0.0.0
flutter_animate 1.0.0 1.0.0 4.5.0
flutter_cache_manager 3.3.0 3.3.0 3.4.1
fluttertoast ^8.1.1 8.2.8 8.2.8
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
intl 0.17.0 0.17.0 0.19.0
json_path 0.4.1 0.4.1 0.7.4
mad2_browsepage ^1.0.0+4 1.0.7 2.0.8
mad2_db_dataobjects ^1.0.0+2 1.2.3 1.2.3
page_transition 2.0.4 2.0.4 2.1.0
shared_preferences 2.0.15 2.0.15 2.3.3
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
Transitive dependencies
Package Constraint Compatible Latest
_flutterfire_internals - 1.3.35 1.3.45
async - 2.11.0 2.12.0
boolean_selector - 2.1.1 2.1.2
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
clock - 1.1.1 1.1.2
cloud_firestore - 4.17.5 5.4.5
cloud_firestore_platform_interface - 6.2.5 6.4.4
cloud_firestore_web - 3.12.5 4.3.3
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
cupertino_icons - 1.0.8 1.0.8
fake_async - 1.3.1 1.3.2
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.1
firebase_auth - 4.16.0 5.3.2
firebase_auth_platform_interface - 7.3.0 7.4.8
firebase_auth_web - 5.8.13 5.13.3
firebase_core - 2.32.0 3.7.0
firebase_core_platform_interface - 5.3.0 5.3.0
firebase_core_web - 2.18.1 2.18.1
firebase_storage - 11.6.5 12.3.5
firebase_storage_platform_interface - 5.1.22 5.1.32
firebase_storage_web - 3.6.22 3.10.4
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
google_sign_in - 5.4.4 6.2.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.10.2+1 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
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
matcher - 0.12.16+1 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
octo_image - 1.0.2 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
rfc_6901 - 0.1.1 0.2.0
rxdart - 0.27.7 0.28.0
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
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.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
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
typed_data - 1.4.0 1.4.0
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
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

Found 14 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 `2.0.1` on easy_debounce does not support the stable version `2.0.2`.

Try running dart pub upgrade --major-versions easy_debounce 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 1 error:

  • UNDEFINED_GETTER - lib/main.dart:104:50 - The getter 'headline4' isn't defined for the type 'TextTheme'.

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.