sghi_core 0.3.185 copy "sghi_core: ^0.3.185" to clipboard
sghi_core: ^0.3.185 copied to clipboard

A set of reusable components used in myCareHub and myCareHub Professional

130/ 160
pub points
949
downloads

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

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

Partially passed check 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.

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: MIT.

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

Failed check 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]

Passed check 10/10 points: Package has an example

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

Passed check 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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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

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

Partially passed check 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
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 96.0.0 108.0.0
_flutterfire_internals - 1.3.77 1.3.77
analyzer - 10.2.0 14.4.0
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
async_redux_core - 1.5.0 1.5.0
audio_session - 0.2.4 0.2.4
build - 4.0.7 4.0.11
build_config - 1.3.3 1.3.3
cached_network_image_platform_interface - 4.1.1 5.0.0
cached_network_image_web - 1.3.1 2.0.0
camera_android_camerax - 0.7.4+8 0.7.4+8
camera_avfoundation - 0.10.3 0.10.3
camera_platform_interface - 2.13.1 2.13.1
camera_web - 0.3.5+6 0.3.5+6
characters - 1.4.1 1.4.1
checked_yaml - 2.0.4 2.0.4
clock - 1.1.3 1.1.3
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
connectivity_plus - 7.3.1 7.3.1
connectivity_plus_platform_interface - 2.1.0 2.1.0
convert - 3.1.2 3.1.2
cross_file - 0.3.5+5 0.3.5+5
crypto - 3.0.7 3.0.7
csslib - 1.0.2 1.0.2
cupertino_icons - 1.0.9 1.0.9
dart_style - 3.1.7 3.1.13
dbus - 0.7.15 0.7.15
fast_immutable_collections - 11.2.0 11.2.0
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
file_selector_linux - 0.9.4+1 0.9.4+1
file_selector_macos - 0.9.5+1 0.9.5+1
file_selector_platform_interface - 2.7.0 2.7.0
file_selector_windows - 0.9.3+6 0.9.3+6
firebase_core_platform_interface - 8.1.1 8.1.1
firebase_core_web - 3.12.0 3.12.0
firebase_messaging_platform_interface - 4.10.0 4.10.0
firebase_messaging_web - 4.2.5 4.2.5
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.2 3.4.2
flutter_local_notifications_linux - 8.0.1 8.0.1
flutter_local_notifications_platform_interface - 12.2.0 12.2.0
flutter_local_notifications_web - 1.0.0 1.0.0
flutter_local_notifications_windows - 3.1.1 3.1.1
flutter_plugin_android_lifecycle - 2.0.35 2.0.35
glob - 2.2.0 2.2.0
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
i18n_extension_core - 5.2.1 6.0.0
image_picker_android - 0.8.13+23 0.8.13+23
image_picker_for_web - 3.1.1 3.1.1
image_picker_ios - 0.8.13+7 0.8.13+7
image_picker_linux - 0.2.2 0.2.2
image_picker_macos - 0.2.2+1 0.2.2+1
image_picker_platform_interface - 2.11.1 2.11.1
image_picker_windows - 0.2.2 0.2.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.3 1.0.3
jni_util - 1.0.0 1.0.0
just_audio_platform_interface - 4.6.0 4.6.0
just_audio_web - 0.4.16 0.4.16
list_counter - 1.0.2 1.0.2
local_auth_android - 2.0.10 2.0.10
local_auth_darwin - 2.0.4 2.0.4
local_auth_platform_interface - 1.1.0 1.1.0
local_auth_windows - 2.0.2 2.0.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
objective_c - 9.6.0 9.6.0
octo_image - 2.1.0 2.1.0
package_config - 2.2.0 3.0.0
package_info_plus - 9.0.1 10.2.1
package_info_plus_platform_interface - 3.2.1 4.1.0
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 13.0.1 14.1.0
permission_handler_apple - 9.6.1 9.6.1
permission_handler_html - 0.1.4+1 0.1.4+1
permission_handler_platform_interface - 4.4.1 4.4.1
permission_handler_windows - 0.2.2 0.2.2
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
pub_semver - 2.2.1 2.2.1
pubspec_parse - 1.6.0 1.6.0
record_use - 1.1.1 1.1.1
serverpod_serialization - 3.4.13 4.0.0
source_gen - 4.2.4 4.3.0
source_helper - 1.3.13 1.3.13
sprintf - 7.0.0 7.0.0
sqflite_android - 2.4.4 2.4.4
sqflite_common - 2.5.12 2.5.12
sqflite_darwin - 2.4.4 2.4.4
sqflite_platform_interface - 2.4.2 2.4.2
stream_transform - 2.1.2 2.1.2
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.2 3.4.2
term_glyph - 1.2.2 1.2.2
timezone - 0.11.1 0.11.1
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.33 6.3.33
url_launcher_ios - 6.4.2 6.4.2
url_launcher_linux - 3.2.3 3.2.3
url_launcher_macos - 3.2.6 3.2.6
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.3 2.4.3
url_launcher_windows - 3.1.6 3.1.6
uuid - 4.6.0 4.6.0
vector_graphics - 1.2.3 1.2.3
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.3.0 1.3.0
vector_math - 2.4.2 2.4.2
video_player_android - 2.12.2 2.12.2
video_player_avfoundation - 2.12.0 2.12.0
video_player_platform_interface - 6.9.0 6.9.0
video_player_web - 2.4.0 2.4.0
wakelock_plus - 1.5.2 1.8.0
wakelock_plus_platform_interface - 1.7.0 1.7.0
watcher - 1.2.1 1.2.1
weak_map - 4.0.1 4.0.1
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.15.1 2.15.1
webview_flutter_wkwebview - 3.26.1 3.26.1
win32 - 5.15.0 6.4.0
xdg_directories - 1.1.0 1.1.0
xml - 7.0.1 7.0.1
yaml - 3.1.4 3.1.4

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.

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.23.19, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: