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 20 hours ago, and awarded it 120 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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
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
.
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.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
.
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.
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
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
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.
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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.