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

PlatformAndroidiOS
outdated

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

120/ 160
pub points
181
downloads

We analyzed this package 20 hours ago, and awarded it 120 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

398 out of 1293 API elements (30.8 %) have documentation comments.

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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 check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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/exceptions/network_exception.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.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 77 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/src/features/auth/biometric/bloc/biometric_bloc.dart:72:24

   ╷
72 │       Uint8List sstr = utf8.encode(local.encKey!) as Uint8List;
   │                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
asn1lib ^1.1.0 1.6.5 1.6.5
bloc ^7.2.1 7.2.1 9.0.1
cached_network_image ^3.2.0 3.3.1 3.4.1
copy_with_extension ^4.0.2 4.0.4 10.0.1
device_info ^2.0.3 2.0.3 2.0.3 Discontinued
dio ^4.0.6 4.0.6 5.9.0
firebase_analytics ^10.1.4 10.5.1 12.0.2
firebase_core ^2.7.0 2.17.0 4.1.1
firebase_crashlytics ^3.0.15 3.3.7 5.0.2
firebase_messaging ^14.2.5 14.6.9 16.0.2
firebase_remote_config ^3.0.13 3.0.15 6.0.2
flutter_bloc ^7.2.0 7.3.3 9.1.1
flutter_cache_manager ^3.3.0 3.3.1 3.4.1
flutter_easyloading ^3.0.5 3.0.5 3.0.5
flutter_facebook_auth ^4.3.4+2 4.4.1+1 7.1.2
flutter_image_compress ^1.1.0 1.1.3 2.4.0
flutter_local_notifications ^9.5.3+1 9.9.1 19.4.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.2.4
flutter_svg ^1.0.3 1.1.6 2.2.1
get_it ^7.2.0 7.7.0 8.2.0
google_sign_in ^5.4.0 5.4.4 7.2.0
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.2.0
injectable ^1.5.3 1.5.4 2.5.2
intl ^0.17.0 0.17.0 0.20.2
json_annotation ^4.5.0 4.9.0 4.9.0
json_serializable ^6.2.0 6.11.1 6.11.1
jwt_decode ^0.3.1 0.3.1 0.3.1
local_auth ^2.1.0 2.3.0 2.3.0
package_info ^2.0.2 2.0.2 2.0.2 Discontinued
path_provider ^2.0.11 2.1.5 2.1.5
permission_handler ^10.0.0 10.4.5 12.0.1
photo_view ^0.14.0 0.14.0 0.15.0
pointycastle ^3.6.0 3.9.1 4.0.0
shared_preferences ^2.0.15 2.5.3 2.5.3
sign_in_with_apple ^4.0.0 4.3.0 7.0.1
socket_io_client ^2.0.0-beta.4-nullsafety.0 2.0.3+1 3.1.2
url_launcher ^6.1.3 6.3.2 6.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 89.0.0 89.0.0
_flutterfire_internals - 1.3.7 1.3.62
analyzer - 8.2.0 8.2.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 4.0.1 4.0.1
build_config - 1.2.0 1.2.0
cached_network_image_platform_interface - 4.0.0 4.1.1
cached_network_image_web - 1.2.0 1.3.1
characters - 1.4.0 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
curl_logger_dio_interceptor - 0.0.3 1.0.0
dart_style - 3.1.2 3.1.2
dbus - 0.7.11 0.7.11
device_info_platform_interface - 2.0.1 2.0.1
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
file_selector_linux - 0.9.3+2 0.9.3+2
file_selector_macos - 0.9.4+4 0.9.4+4
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+4 0.9.3+4
firebase_analytics_platform_interface - 3.7.1 5.0.2
firebase_analytics_web - 0.5.5+1 0.6.0+2
firebase_core_platform_interface - 4.8.0 6.0.1
firebase_core_web - 2.8.0 3.1.1
firebase_crashlytics_platform_interface - 3.6.7 3.8.13
firebase_messaging_platform_interface - 4.5.8 4.7.2
firebase_messaging_web - 3.5.8 4.0.2
firebase_remote_config_platform_interface - 1.4.7 2.0.3
firebase_remote_config_web - 1.4.7 1.8.12
fixnum - 1.1.1 1.1.1
flutter_dio_http_cache - 0.3.1 0.3.1
flutter_facebook_auth_platform_interface - 3.2.0 6.1.2
flutter_facebook_auth_web - 3.2.0 6.1.2
flutter_local_notifications_linux - 0.5.1 6.0.0
flutter_local_notifications_platform_interface - 5.0.0 9.1.0
flutter_plugin_android_lifecycle - 2.0.30 2.0.30
flutter_secure_storage_linux - 1.2.3 2.0.1
flutter_secure_storage_macos - 1.1.2 4.0.0
flutter_secure_storage_platform_interface - 1.1.2 2.0.1
flutter_secure_storage_web - 1.2.1 2.0.0
flutter_secure_storage_windows - 1.1.3 4.0.0
flutter_spinkit - 5.2.2 5.2.2
freezed_annotation - 1.1.0 3.1.0
glob - 2.1.3 2.1.3
google_sign_in_android - 6.2.1 7.2.0
google_sign_in_ios - 5.9.0 6.2.1
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.10.2+1 1.1.0
http - 1.5.0 1.5.0
http_parser - 4.1.2 4.1.2
image_picker_android - 0.8.13+3 0.8.13+3
image_picker_for_web - 2.2.0 3.1.0
image_picker_ios - 0.8.13 0.8.13
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2 0.2.2
image_picker_platform_interface - 2.11.0 2.11.0
image_picker_windows - 0.2.2 0.2.2
js - 0.6.7 0.7.2 Discontinued
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
local_auth_android - 1.0.53 1.0.53
local_auth_darwin - 1.6.1 1.6.1
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 1.0.11 1.0.11
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 1.0.6 2.0.0
nested - 1.0.0 1.0.0
octo_image - 2.1.0 2.1.0
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
path_drawing - 1.0.1 1.0.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.18 2.2.18
path_provider_foundation - 2.4.2 2.4.2
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
permission_handler_android - 10.3.6 13.0.1
permission_handler_apple - 9.1.4 9.4.7
permission_handler_platform_interface - 3.12.0 4.3.0
permission_handler_windows - 0.1.3 0.2.1
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pretty_dio_logger - 1.2.0-beta-1 1.4.0
process - 4.2.4 5.0.5
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.5.0 1.5.0
quiver - 3.2.2 3.2.2
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.4.13 2.4.13
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
sign_in_with_apple_platform_interface - 1.1.0 2.0.0
sign_in_with_apple_web - 1.0.1 3.0.0
socket_io_common - 2.0.3 3.1.1
source_gen - 4.0.1 4.0.1
source_helper - 1.3.8 1.3.8
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+2 2.4.2+2
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.7
timezone - 0.8.0 0.10.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.22 6.3.22
url_launcher_ios - 6.3.4 6.3.4
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.3 3.2.3
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.2.0 2.2.0
vm_service - 15.0.2 15.0.2
watcher - 1.1.3 1.1.3
web - 1.1.1 1.1.1
xdg_directories - 0.2.0+3 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

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

Found 26 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.

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: