super_module 0.7.7-prerelease copy "super_module: ^0.7.7-prerelease" to clipboard
super_module: ^0.7.7-prerelease copied to clipboard

A super module using bloc and clean architecture that is common in every app such as authentication, utils, extension and common widgets.

7
likes
100/ 140
pub points
32%
popularity

We analyzed this package 13 hours ago, and awarded it 100 pub points (of a possible 140):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://gitab.com/swivt/super-module was unreachable. Make sure that the website is reachable via HEAD requests.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

358 out of 1251 API elements (28.6 %) have documentation comments.

Some symbols that are missing documentation: super_module, super_module.$UserModelCopyWith, super_module.AddAddressEvent, super_module.AddAddressEvent.AddAddressEvent, super_module.AddAddressEvent.additionalInfo.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
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:super_module/super_module.dart that imports:
  • package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dart that imports:
  • package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dart that imports:
  • package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dart that imports:
  • package:flutter_rest_client/flutter_rest_client.dart that imports:
  • package:flutter_rest_client/src/dio/http_helper.dart that imports:
  • package:flutter_dio_http_cache/dio_http_cache.dart that imports:
  • package:flutter_dio_http_cache/src/manager_dio.dart that imports:
  • package:flutter_dio_http_cache/src/core/manager.dart that imports:
  • package:sqflite/utils/utils.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dart that imports:
  • package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dart that imports:
  • package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dart that imports:
  • package:flutter_rest_client/flutter_rest_client.dart that imports:
  • package:flutter_rest_client/src/dio/http_helper.dart that imports:
  • package:flutter_dio_http_cache/dio_http_cache.dart that imports:
  • package:flutter_dio_http_cache/src/manager_dio.dart that imports:
  • package:flutter_dio_http_cache/src/core/manager.dart that imports:
  • package:sqflite/utils/utils.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dart that imports:
  • package:super_module/src/features/firebase/domain/controller/firebase_controller.dart that imports:
  • package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dart that imports:
  • package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dart that imports:
  • package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dart that imports:
  • package:flutter_rest_client/flutter_rest_client.dart that imports:
  • package:flutter_rest_client/src/dio/http_helper.dart that imports:
  • package:flutter_dio_http_cache/dio_http_cache.dart that imports:
  • package:flutter_dio_http_cache/src/manager_dio.dart that imports:
  • package:flutter_dio_http_cache/src/core/manager.dart that imports:
  • package:sqflite/utils/utils.dart that declares support for platforms: Android, iOS, macOS.

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

Package does not support platform `Android`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dart that imports:
  • package:super_module/src/features/firebase/domain/controller/firebase_controller.dart that imports:
  • package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dart that imports:
  • package:super_module/src/features/firebase/domain/controller/firebase_controller.dart that imports:
  • package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dart that imports:
  • package:flutter_local_notifications/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications/src/notification_details.dart that imports:
  • package:flutter_local_notifications_linux/flutter_local_notifications_linux.dart that imports:
  • package:flutter_local_notifications_linux/src/flutter_local_notifications.dart that imports:
  • package:flutter_local_notifications_linux/src/notifications_manager.dart that imports:
  • package:flutter_local_notifications_linux/src/storage.dart that imports:
  • package:flutter_local_notifications_linux/src/platform_info.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 55 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'String?', but ends without returning a value.

lib/src/features/auth/biometric/encryption/rsa_util.dart:8:9

  ╷
8 │ String? decryptByPublicKey(String data, PublicKey publicKey) {
  │         ^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/features/auth/biometric/encryption/rsa_util.dart

WARNING: This null-check will always throw an exception because the expression will always evaluate to 'null'.

lib/src/features/auth/biometric/encryption/rsa_util.dart:113:10

    ╷
113 │   return null!;
    │          ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/features/auth/biometric/encryption/rsa_util.dart

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

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

Package Constraint Compatible Latest
asn1lib ^1.1.0 1.5.2 1.5.2
bloc ^7.2.1 7.2.1 8.1.4
cached_network_image ^3.2.0 3.3.1 3.3.1
copy_with_extension ^4.0.2 4.0.4 5.0.4
device_info ^2.0.3 2.0.3 2.0.3
dio ^4.0.6 4.0.6 5.4.3+1
firebase_analytics ^10.1.4 10.5.1 10.10.5
firebase_core ^2.7.0 2.17.0 2.31.0
firebase_crashlytics ^3.0.15 3.3.7 3.5.5
firebase_messaging ^14.2.5 14.6.9 14.9.2
firebase_remote_config ^3.0.13 3.0.15 4.4.5
flutter flutter 0.0.0 0.0.0
flutter_bloc ^7.2.0 7.3.3 8.1.5
flutter_cache_manager ^3.3.0 3.3.1 3.3.2
flutter_easyloading ^3.0.5 3.0.5 3.0.5
flutter_facebook_auth ^4.3.4+2 4.4.1+1 6.2.0
flutter_image_compress ^1.1.0 1.1.3 2.2.0
flutter_local_notifications ^9.5.3+1 9.9.1 17.1.2
flutter_rest_client ^0.2.2-prerelease 0.2.7-prerelease 0.3.0
flutter_secure_storage ^5.0.2 5.1.2 9.0.0
flutter_svg ^1.0.3 1.1.6 2.0.10+1
get_it ^7.2.0 7.7.0 7.7.0
google_sign_in ^5.4.0 5.4.4 6.2.1
hive ^2.2.2 2.2.3 2.2.3
hive_flutter ^1.1.0 1.1.0 1.1.0
image_picker ^0.8.5+3 0.8.9 1.1.1
injectable ^1.5.3 1.5.4 2.4.1
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.5.0 4.9.0 4.9.0
json_serializable ^6.2.0 6.8.0 6.8.0
jwt_decode ^0.3.1 0.3.1 0.3.1
local_auth ^2.1.0 2.2.0 2.2.0
package_info ^2.0.2 2.0.2 2.0.2
path_provider ^2.0.11 2.1.3 2.1.3
permission_handler ^10.0.0 10.4.5 11.3.1
photo_view ^0.14.0 0.14.0 0.15.0
pointycastle ^3.6.0 3.9.0 3.9.0
shared_preferences ^2.0.15 2.2.3 2.2.3
sign_in_with_apple ^4.0.0 4.3.0 6.1.0
socket_io_client ^2.0.0-beta.4-nullsafety.0 2.0.3+1 2.0.3+1
url_launcher ^6.1.3 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 68.0.0
_flutterfire_internals - 1.3.7 1.3.33
analyzer - 6.4.1 6.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.2.0 1.2.0
characters - 1.3.0 1.3.0
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
curl_logger_dio_interceptor - 0.0.3 1.0.0
dart_style - 2.3.6 2.3.6
dbus - 0.7.10 0.7.10
device_info_platform_interface - 2.0.1 2.0.1
fake_async - 1.3.1 1.3.1
ffi - 2.1.2 2.1.2
file - 6.1.4 7.0.0
file_selector_linux - 0.9.2+1 0.9.2+1
file_selector_macos - 0.9.4 0.9.4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
firebase_analytics_platform_interface - 3.7.1 3.10.6
firebase_analytics_web - 0.5.5+1 0.5.7+5
firebase_core_platform_interface - 4.8.0 5.0.0
firebase_core_web - 2.8.0 2.17.0
firebase_crashlytics_platform_interface - 3.6.7 3.6.33
firebase_messaging_platform_interface - 4.5.8 4.5.35
firebase_messaging_web - 3.5.8 3.8.5
firebase_remote_config_platform_interface - 1.4.7 1.4.33
firebase_remote_config_web - 1.4.7 1.6.5
fixnum - 1.1.0 1.1.0
flutter_dio_http_cache - 0.3.1 0.3.1
flutter_facebook_auth_platform_interface - 3.2.0 5.0.0
flutter_facebook_auth_web - 3.2.0 5.0.1
flutter_local_notifications_linux - 0.5.1 4.0.0+1
flutter_local_notifications_platform_interface - 5.0.0 7.1.0
flutter_plugin_android_lifecycle - 2.0.19 2.0.19
flutter_secure_storage_linux - 1.2.0 1.2.0
flutter_secure_storage_macos - 1.1.2 3.0.1
flutter_secure_storage_platform_interface - 1.0.2 1.0.2
flutter_secure_storage_web - 1.1.2 1.1.2
flutter_secure_storage_windows - 1.1.3 3.0.0
flutter_spinkit - 5.2.1 5.2.1
flutter_test - 0.0.0 0.0.0
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 1.1.0 2.4.1
glob - 2.1.2 2.1.2
google_sign_in_android - 6.1.23 6.1.23
google_sign_in_ios - 5.7.6 5.7.6
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.10.2+1 0.12.4
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.11 0.8.11
image_picker_for_web - 2.2.0 3.0.4
image_picker_ios - 0.8.10+1 0.8.10+1
image_picker_linux - 0.2.1+1 0.2.1+1
image_picker_macos - 0.2.1+1 0.2.1+1
image_picker_platform_interface - 2.10.0 2.10.0
image_picker_windows - 0.2.1+1 0.2.1+1
js - 0.6.7 0.7.1
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
local_auth_android - 1.0.38 1.0.38
local_auth_darwin - 1.2.2 1.2.2
local_auth_platform_interface - 1.0.10 1.0.10
local_auth_windows - 1.0.10 1.0.10
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
mime - 1.0.5 1.0.5
nested - 1.0.0 1.0.0
octo_image - 2.0.0 2.0.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
path_drawing - 1.0.1 1.0.1
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
permission_handler_android - 10.3.6 12.0.6
permission_handler_apple - 9.1.4 9.4.4
permission_handler_platform_interface - 3.12.0 4.2.1
permission_handler_windows - 0.1.3 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pretty_dio_logger - 1.2.0-beta-1 1.3.1
process - 4.2.4 5.0.2
provider - 6.1.2 6.1.2
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
quiver - 3.2.1 3.2.1
rxdart - 0.27.7 0.27.7
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sign_in_with_apple_platform_interface - 1.1.0 1.1.0
sign_in_with_apple_web - 1.0.1 2.1.0
sky_engine - 0.0.99 0.0.99
socket_io_common - 2.0.3 2.0.3
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3+1 2.3.3+1
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
timezone - 0.8.0 0.9.3
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
vm_service - 13.0.0 14.2.1
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 0.2.0+3 1.0.4
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

Found 18 issues. Showing the first 2:

The constraint `^7.2.1` on bloc does not support the stable version `8.0.0`.

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

The constraint `^4.0.2` on copy_with_extension does not support the stable version `5.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.