sghi_core 0.3.185
sghi_core: ^0.3.185 copied to clipboard
A set of reusable components used in myCareHub and myCareHub Professional
We analyzed this package 15 hours ago, and awarded it 130 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://github.com/savannahghi/sghi_core was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/savannahghi/sghi_core was unreachable. Make sure that the website is reachable via HEAD requests.
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/savannahghi/sghi_core/issues was unreachable. Make sure that the website is reachable via HEAD requests.
Documentation URL doesn't exist.
At the time of the analysis https://github.com/savannahghi/sghi_core/blob/main/doc/readme.md 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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting sghi_core... Discovering libraries... Linking elements... Precaching local docs for 1709273 elements... Initialized dartdoc with 4235 libraries Generating docs for library app_wrapper/device_capabilities.dart from package:sghi_core/app_wrapper/device_capabilities.dart... Generating docs for library app_wrapper/endpoints.dart from package:sghi_core/app_wrapper/endpoints.dart... Generating docs for library app_wrapper/app_wrapper.dart from package:sghi_core/app_wrapper/app_wrapper.dart... Generating docs for library app_wrapper/base_context.dart from package:sghi_core/app_wrapper/base_context.dart... Generating docs for library app_wrapper/app_wrapper_base.dart from package:sghi_core/app_wrapper/app_wrapper_base.dart... [155 more lines] ERR: warning: unresolved doc reference [CreateNewPINPage] from create_new_pin_widget.CreateNewPINWidget: (file:///tmp/pana_TWYYAN/lib/afya_moja_core/src/presentation/create_new_pin_widget.dart:12:7) warning: unresolved doc reference [null] from generic_error_widget.GenericErrorWidget: (file:///tmp/pana_TWYYAN/lib/afya_moja_core/src/presentation/generic_error_widget.dart:24:7) warning: unresolved doc reference [ErrorInData] from generic_error_widget.GenericErrorWidget: (file:///tmp/pana_TWYYAN/lib/afya_moja_core/src/presentation/generic_error_widget.dart:24:7) warning: unresolved doc reference [Communities] from enums.MatrixMessageTypes: (file:///tmp/pana_TWYYAN/lib/afya_moja_core/src/domain/value_objects/enums.dart:589:7) warning: unresolved doc reference [MyAfyaHubPhoneLoginPage] from country_code_picker.MyAfyaHubCountryPicker: (file:///tmp/pana_TWYYAN/lib/afya_moja_core/src/presentation/country_code_picker.dart:12:7) [123 more lines]
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 26 issues. Showing the first 2:
INFO: Use the null-aware marker '?' rather than a null check via an 'if'.
lib/afya_moja_core/src/presentation/information_list_card.dart:72:17
╷
72 │ if (body != null) body!,
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/afya_moja_core/src/presentation/information_list_card.dart
INFO: The diagnostic 'deprecated_member_use' isn't produced at this location so it doesn't need to be ignored.
lib/communities/core/entities/community_utils.dart:37:14
╷
37 │ // ignore: deprecated_member_use
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/communities/core/entities/community_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async_redux |
^27.1.1 |
27.1.1 | 28.4.0 | |
cached_network_image |
^3.4.1 |
3.4.1 | 4.0.0 | |
camera |
^0.12.0+1 |
0.12.1 | 0.12.1 | |
carousel_slider |
^5.0.0 |
5.1.2 | 5.1.2 | |
chewie |
^1.13.1 |
1.13.1 | 1.17.1 | |
custom_rating_bar |
^3.0.0 |
3.0.0 | 3.0.0 | |
dartz |
^0.10.1 |
0.10.1 | 0.10.1 | |
file_picker |
^11.0.0 |
11.0.3 | 13.0.0 | |
firebase_core |
^4.1.0 |
4.15.0 | 4.15.0 | |
firebase_messaging |
^16.0.1 |
16.7.0 | 16.7.0 | |
flutter_html |
^3.0.0 |
3.0.0 | 3.0.0 | |
flutter_local_notifications |
^22.0.1 |
22.3.1 | 22.3.1 | |
flutter_spinkit |
^5.2.0 |
5.2.2 | 5.2.2 | |
flutter_svg |
^2.0.7 |
2.3.0 | 2.3.0 | |
freezed |
^3.2.4 |
3.2.5 | 4.0.1 | |
freezed_annotation |
^3.1.0 |
3.1.0 | 3.1.0 | |
google_fonts |
^8.1.0 |
8.2.1 | 8.2.1 | |
gql |
^1.0.0 |
1.0.1 | 1.0.1 | |
heroicons |
^0.11.0 |
0.11.0 | 0.11.0 | |
html |
^0.15.4 |
0.15.7 | 0.15.7 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
image_picker |
^1.0.1 |
1.2.3 | 1.2.3 | |
intl |
^0.20.2 |
0.20.3 | 0.20.3 | |
json_annotation |
^4.9.0 |
4.12.0 | 4.12.0 | |
json_serializable |
^6.11.2 |
6.14.1 | 6.14.1 | |
just_audio |
^0.10.5 |
0.10.6 | 0.10.6 | |
local_auth |
^3.0.0 |
3.0.2 | 3.0.2 | |
mime |
^2.0.0 |
2.1.0 | 2.1.0 | |
overlay_support |
^2.1.0 |
2.1.0 | 2.1.0 | |
path |
^1.8.3 |
1.9.1 | 1.9.1 | |
path_provider |
^2.0.15 |
2.1.6 | 2.1.6 | |
permission_handler |
^12.0.1 |
12.0.3 | 13.0.2 | |
photo_view |
^0.15.0 |
0.15.0 | 0.15.0 | |
pin_code_text_field |
^1.8.0 |
1.8.0 | 1.8.0 | |
platform |
^3.1.5 |
3.2.0 | 3.2.0 | |
rxdart |
^0.28.0 |
0.28.0 | 0.28.0 | |
shimmer |
^3.0.0 |
3.0.0 | 4.0.0 | |
source_span |
^1.9.0 |
1.10.2 | 1.10.2 | |
sqflite |
^2.3.0 |
2.4.4 | 2.4.4 | |
unicons |
^3.0.0 |
3.0.0 | 3.0.0 | |
url_launcher |
^6.1.12 |
6.3.2 | 6.3.2 | |
video_player |
^2.7.0 |
2.14.0 | 2.14.0 | |
visibility_detector |
^0.4.0+2 |
0.4.0+2 | 0.4.0+2 | |
webview_flutter |
^4.2.3 |
4.14.1 | 4.14.1 | |
webview_flutter_android |
^4.3.0 |
4.14.1 | 4.14.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 6 issues. Showing the first 2:
The constraint `^27.1.1` on async_redux does not support the stable version `28.0.0`.
Try running dart pub upgrade --major-versions async_redux to update the constraint.
The constraint `^3.4.1` on cached_network_image does not support the stable version `4.0.0`, that was published 17 days ago.
When cached_network_image is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions cached_network_image 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.19, Flutter 3.47.0, Dart 3.13.0.
Check the analysis log for details.