super_module 0.5.19 copy "super_module: ^0.5.19" to clipboard
super_module: ^0.5.19 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
70/ 140
pub points
31%
popularity

We analyzed this package 17 hours ago, and awarded it 70 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

246 out of 999 API elements (24.6 %) have documentation comments.

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

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:dio_http_cache/dio_http_cache.dart that imports:
  • package:dio_http_cache/src/manager_dio.dart that imports:
  • package: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:dio_http_cache/dio_http_cache.dart that imports:
  • package:dio_http_cache/src/manager_dio.dart that imports:
  • package: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/auth/presentation/bloc/register_bloc/register_bloc.dart that imports:
  • package:super_module/src/features/auth/domain/controller/auth_login_controller.dart that imports:
  • package:flutter_facebook_auth/flutter_facebook_auth.dart that declares support for platforms: Android, iOS, Web.
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:dio_http_cache/dio_http_cache.dart that imports:
  • package:dio_http_cache/src/manager_dio.dart that imports:
  • package: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/auth/biometric/bloc/biometric_bloc.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:super_module/super_module.dart that imports:
  • package:super_module/src/features/auth/biometric/bloc/biometric_bloc.dart that imports:
  • package:local_auth/local_auth.dart that imports:
  • package:local_auth/src/local_auth.dart that imports:
  • package:local_auth_windows/local_auth_windows.dart that declares support for platforms: Windows.
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 38 issues. Showing the first 2:

ERROR: The getter 'isoCountryCode' isn't defined for the type 'CarrierInfo'.

lib/src/core/widget/app_country_picker.dart:18:27

   ╷
18 │       future: CarrierInfo.isoCountryCode,
   │                           ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/widget/app_country_picker.dart

WARNING: The receiver can't be null, so the null-aware operator '?.' is unnecessary.

lib/src/core/widget/app_country_picker.dart:31:40

   ╷
31 │                 WidgetsBinding.instance?.window.locale.countryCode,
   │                                        ^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/widget/app_country_picker.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
carrier_info ^2.0.5 2.0.8 2.0.8
country_code_picker ^2.0.2 2.0.2 3.0.0
device_info ^2.0.3 2.0.3 2.0.3
dio ^4.0.6 4.0.6 5.4.3+1
firebase_app_check ^0.0.6+13 0.0.9+1 0.2.2+4
firebase_core ^1.17.1 1.24.0 2.30.1
firebase_crashlytics ^2.8.1 2.9.0 3.5.4
firebase_messaging ^11.4.1 11.4.4 14.9.1
firebase_remote_config ^2.0.8 2.0.20 4.4.4
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 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.0
flutter_rest_client ^0.1.3 0.1.3 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.3.1 5.4.4 6.2.1
hive ^2.2.0 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.0
injectable ^1.5.3 1.5.4 2.4.1
intl ^0.17.0 0.17.0 0.19.0
json_annotation ^4.0.1 4.1.0 4.9.0
json_serializable ^4.1.4 4.1.4 6.8.0
jwt_decode ^0.3.1 0.3.1 0.3.1
local_auth ^2.0.2 2.2.0 2.2.0
meta ^1.7.0 1.11.0 1.14.0
package_info ^2.0.2 2.0.2 2.0.2
path_provider ^2.0.10 2.1.3 2.1.3
permission_handler ^9.2.0 9.2.0 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.0-beta.4-nullsafety.0 2.0.3+1
url_launcher ^6.1.2 6.2.6 6.2.6
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 22.0.0 67.0.0
_flutterfire_internals - 1.0.2 1.3.32
analyzer - 1.7.2 6.4.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
build - 2.3.1 2.4.1
build_config - 1.0.0 1.1.1
build_daemon - 3.1.1 4.0.1
build_resolvers - 2.0.4 2.4.2
build_runner - 2.1.11 2.4.9
build_runner_core - 7.2.2 7.3.0
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
checked_yaml - 2.0.1 2.0.3
cli_util - 0.3.5 0.4.1
clock - 1.1.1 1.1.1
cloud_firestore_platform_interface - 5.7.7 6.2.2
cloud_firestore_web - 2.8.10 3.12.2
code_builder - 4.10.0 4.10.0
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.1.1 2.3.6
dbus - 0.7.10 0.7.10
device_info_platform_interface - 2.0.1 2.0.1
dio_http_cache - 0.3.0 0.3.0
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.3+3 0.9.3+3
file_selector_platform_interface - 2.6.2 2.6.2
file_selector_windows - 0.9.3+1 0.9.3+1
firebase_app_check_platform_interface - 0.0.5+1 0.1.0+26
firebase_app_check_web - 0.0.7+1 0.1.2+4
firebase_core_platform_interface - 4.8.0 5.0.0
firebase_core_web - 1.7.3 2.16.0
firebase_crashlytics_platform_interface - 3.3.0 3.6.32
firebase_messaging_platform_interface - 3.5.4 4.5.34
firebase_messaging_web - 2.4.4 3.8.4
firebase_remote_config_platform_interface - 1.1.19 1.4.32
firebase_remote_config_web - 1.1.8 1.6.4
fixnum - 1.1.0 1.1.0
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 - 0.15.0 2.4.1
frontend_server_client - 2.1.3 4.0.0
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
graphs - 2.3.1 2.3.1
http - 1.2.1 1.2.1
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.0.2
image_picker_android - 0.8.10 0.8.10
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
io - 1.0.4 1.0.4
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
mime - 1.0.5 1.0.5
modal_bottom_sheet - 2.1.2 3.0.0
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
pedantic - 1.11.1 1.11.1
permission_handler_android - 9.0.2+1 12.0.5
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
pool - 1.5.1 1.5.1
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.1.0 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.3.5 2.3.5
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
shelf - 1.4.1 1.4.1
shelf_web_socket - 1.0.4 1.0.4
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.0.3 1.5.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.3 2.3.3
sqflite_common - 2.5.4 2.5.4
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
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
timing - 1.0.0 1.0.1
typed_data - 1.3.2 1.3.2
universal_platform - 1.0.0+1 1.0.0+1
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
web_socket_channel - 2.4.5 2.4.5
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 24 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 `^2.0.2` on country_code_picker does not support the stable version `3.0.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.