super_module 0.7.7-prerelease
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.
We analyzed this package 10 days ago, and awarded it 120 pub points (of a possible 160):
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.
10/10 points: 20% or more of the public API has dartdoc comments
400 out of 1295 API elements (30.9 %) 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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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.dartthat imports:package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dartthat imports:package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dartthat imports:package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dartthat imports:package:flutter_rest_client/flutter_rest_client.dartthat imports:package:flutter_rest_client/src/dio/http_helper.dartthat imports:package:flutter_dio_http_cache/dio_http_cache.dartthat imports:package:flutter_dio_http_cache/src/manager_dio.dartthat imports:package:flutter_dio_http_cache/src/core/manager.dartthat imports:package:sqflite/utils/utils.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `Linux`.
Because:
package:super_module/super_module.dartthat imports:package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dartthat imports:package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dartthat imports:package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dartthat imports:package:flutter_rest_client/flutter_rest_client.dartthat imports:package:flutter_rest_client/src/dio/http_helper.dartthat imports:package:flutter_dio_http_cache/dio_http_cache.dartthat imports:package:flutter_dio_http_cache/src/manager_dio.dartthat imports:package:flutter_dio_http_cache/src/core/manager.dartthat imports:package:sqflite/utils/utils.dartthat declares support for platforms:Android,iOS,macOS.
Package does not support platform `macOS`.
Because:
package:super_module/super_module.dartthat imports:package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dartthat imports:package:super_module/src/features/firebase/domain/controller/firebase_controller.dartthat imports:package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `Web`.
Because:
package:super_module/super_module.dartthat imports:package:super_module/src/features/wishlist/presentation/bloc/wishlist_bloc.dartthat imports:package:super_module/src/features/wishlist/domain/controller/wishlist_controller.dartthat imports:package:super_module/src/features/wishlist/domain/repositories/i_wishlist_repositories.dartthat imports:package:flutter_rest_client/flutter_rest_client.dartthat imports:package:flutter_rest_client/src/dio/http_helper.dartthat imports:package:flutter_dio_http_cache/dio_http_cache.dartthat imports:package:flutter_dio_http_cache/src/manager_dio.dartthat imports:package:flutter_dio_http_cache/src/core/manager.dartthat imports:package:sqflite/utils/utils.dartthat 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.dartthat imports:package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dartthat imports:package:super_module/src/features/firebase/domain/controller/firebase_controller.dartthat imports:package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:super_module/super_module.dartthat imports:package:super_module/src/features/firebase/presentation/bloc/firebase_bloc.dartthat imports:package:super_module/src/features/firebase/domain/controller/firebase_controller.dartthat imports:package:super_module/src/features/firebase/domain/repositories/i_firebase_repository.dartthat imports:package:flutter_local_notifications/flutter_local_notifications.dartthat imports:package:flutter_local_notifications/src/notification_details.dartthat imports:package:flutter_local_notifications_linux/flutter_local_notifications_linux.dartthat imports:package:flutter_local_notifications_linux/src/flutter_local_notifications.dartthat imports:package:flutter_local_notifications_linux/src/notifications_manager.dartthat imports:package:flutter_local_notifications_linux/src/storage.dartthat imports:package:flutter_local_notifications_linux/src/platform_info.dartthat imports:package:xdg_directories/xdg_directories.dartthat declares support for platforms:Linux.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 67 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
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.2.1 | |
cached_network_image |
^3.2.0 |
3.3.1 | 3.4.1 | |
copy_with_extension |
^4.0.2 |
4.0.4 | 15.0.1 | |
device_info |
^2.0.3 |
2.0.3 | 2.0.3 | Discontinued |
dio |
^4.0.6 |
4.0.6 | 5.10.0 | |
firebase_analytics |
^10.1.4 |
10.5.1 | 12.4.5 | |
firebase_core |
^2.7.0 |
2.17.0 | 4.12.1 | |
firebase_crashlytics |
^3.0.15 |
3.3.7 | 5.2.6 | |
firebase_messaging |
^14.2.5 |
14.6.9 | 16.4.3 | |
firebase_remote_config |
^3.0.13 |
3.0.15 | 6.5.5 | |
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.2.0 | |
flutter_image_compress |
^1.1.0 |
1.1.3 | 2.4.0 | |
flutter_local_notifications |
^9.5.3+1 |
9.9.1 | 22.0.1 | |
flutter_rest_client |
^0.2.2-prerelease |
0.2.7-prerelease | 0.3.0 | |
flutter_secure_storage |
^5.0.2 |
5.1.2 | 10.3.1 | |
flutter_svg |
^1.0.3 |
1.1.6 | 2.3.0 | |
get_it |
^7.2.0 |
7.7.0 | 9.2.1 | |
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.3 | |
injectable |
^1.5.3 |
1.5.4 | 3.0.0 | |
intl |
^0.17.0 |
0.17.0 | 0.20.3 | |
json_annotation |
^4.5.0 |
4.12.0 | 4.12.0 | |
json_serializable |
^6.2.0 |
6.14.0 | 6.14.0 | |
jwt_decode |
^0.3.1 |
0.3.1 | 0.3.1 | |
local_auth |
^2.1.0 |
2.3.0 | 3.0.2 | |
package_info |
^2.0.2 |
2.0.2 | 2.0.2 | Discontinued |
path_provider |
^2.0.11 |
2.1.6 | 2.1.6 | |
permission_handler |
^10.0.0 |
10.4.5 | 12.0.3 | |
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.5 | 2.5.5 | |
sign_in_with_apple |
^4.0.0 |
4.3.0 | 8.1.0 | |
socket_io_client |
^2.0.0-beta.4-nullsafety.0 |
2.0.3+1 | 3.1.6 | |
url_launcher |
^6.1.3 |
6.3.2 | 6.3.2 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 27 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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.