Release Maintained

sghi_core

sghi_core is an open source project — it's one among many other shared libraries that make up the wider ecosystem of software made and open sourced by Savannah Informatics Limited.

Shared library for BeWell-Consumer and SladeAdvantage that is a wrapper for various shared helper methods and functions

Installation Instructions

Use this package as a library by depending on it

Run this command:

  • With Flutter:****
flutter pub add sghi_core

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sghi_core: ^0.3.133

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Lastly:

Import it like so:

import 'package:sghi_core/app_wrapper/app_wrapper.dart';

Usage

Check the example provided for how to use this package.

Dart & Flutter Version

  • Dart 2: >= 3.0.6
  • Flutter: >=3.19.2

Developing & Contributing

First off, thanks for taking the time to contribute!

Be sure to check out detailed instructions on how to contribute to this project here and go through out Code of Conduct.

GPG Signing: As a contributor, you need to sign your commits. For more details check here

License

This library is distributed under the MIT license found in the LICENSE file.

Libraries

afya_moja_core/afya_moja_core
afya_moja_core/src/app_asset_strings
afya_moja_core/src/app_strings
afya_moja_core/src/behavior_subjects
afya_moja_core/src/constants
afya_moja_core/src/domain/core/entities/business_hour
afya_moja_core/src/domain/core/entities/caregiver/managed_client
afya_moja_core/src/domain/core/entities/caregiver/managed_client_response
afya_moja_core/src/domain/core/entities/caregiver/managed_clients
afya_moja_core/src/domain/core/entities/communities/extra_data
afya_moja_core/src/domain/core/entities/communities/group_member
afya_moja_core/src/domain/core/entities/communities/member
afya_moja_core/src/domain/core/entities/contact
afya_moja_core/src/domain/core/entities/content/audio_position_data
afya_moja_core/src/domain/core/entities/content/author
afya_moja_core/src/domain/core/entities/content/content
afya_moja_core/src/domain/core/entities/content/content_category
afya_moja_core/src/domain/core/entities/content/content_details
afya_moja_core/src/domain/core/entities/content/content_metadata
afya_moja_core/src/domain/core/entities/content/document
afya_moja_core/src/domain/core/entities/content/faq_content
afya_moja_core/src/domain/core/entities/content/feed_content
afya_moja_core/src/domain/core/entities/content/feed_items
afya_moja_core/src/domain/core/entities/content/hero_image
afya_moja_core/src/domain/core/entities/content/image_detail
afya_moja_core/src/domain/core/entities/content/image_meta
afya_moja_core/src/domain/core/entities/content/list_content_categories
afya_moja_core/src/domain/core/entities/coordinates
afya_moja_core/src/domain/core/entities/facility
afya_moja_core/src/domain/core/entities/facility_identifier
afya_moja_core/src/domain/core/entities/facility_service
afya_moja_core/src/domain/core/entities/faqs/faqs_content_state
afya_moja_core/src/domain/core/entities/icon_details
afya_moja_core/src/domain/core/entities/identifier
afya_moja_core/src/domain/core/entities/notifications/notification_action_info
afya_moja_core/src/domain/core/entities/notifications/notification_actions
afya_moja_core/src/domain/core/entities/notifications/notification_details
afya_moja_core/src/domain/core/entities/notifications/notification_filter
afya_moja_core/src/domain/core/entities/onboarding_path_config
afya_moja_core/src/domain/core/entities/organisation
afya_moja_core/src/domain/core/entities/phone_number
afya_moja_core/src/domain/core/entities/processed_response
afya_moja_core/src/domain/core/entities/program
afya_moja_core/src/domain/core/entities/role
afya_moja_core/src/domain/core/entities/security_questions/questions/responded_security_questions_data
afya_moja_core/src/domain/core/entities/security_questions/questions/security_question
afya_moja_core/src/domain/core/entities/security_questions/questions/security_questions_data
afya_moja_core/src/domain/core/entities/security_questions/responses/record_security_question_response
afya_moja_core/src/domain/core/entities/security_questions/responses/record_security_question_responses_data
afya_moja_core/src/domain/core/entities/security_questions/responses/security_question_response
afya_moja_core/src/domain/core/entities/security_questions/responses/verify_security_question_data
afya_moja_core/src/domain/core/entities/service_identifier
afya_moja_core/src/domain/core/entities/workstation_details
afya_moja_core/src/domain/value_objects/enums
afya_moja_core/src/domain/value_objects/name
afya_moja_core/src/domain/value_objects/value_object
afya_moja_core/src/failures/exception
afya_moja_core/src/failures/value_object_failure
afya_moja_core/src/helpers
afya_moja_core/src/presentation/audio_player/audio_content
afya_moja_core/src/presentation/audio_player/audio_content_controls
afya_moja_core/src/presentation/audio_player/audio_custom_track_shape
afya_moja_core/src/presentation/audio_player/audio_hidden_thumb_widget_shape
afya_moja_core/src/presentation/buttons
afya_moja_core/src/presentation/checkbox_component
afya_moja_core/src/presentation/colors
afya_moja_core/src/presentation/communities/group_info/widgets/edit_widget
afya_moja_core/src/presentation/communities/group_info/widgets/group_member_badge
afya_moja_core/src/presentation/communities/group_info/widgets/group_member_item
afya_moja_core/src/presentation/communities/group_info/widgets/member_list_actions_dialog
afya_moja_core/src/presentation/communities/group_info/widgets/room_list_shimmer_widget
afya_moja_core/src/presentation/community_list_item
afya_moja_core/src/presentation/content/content_details_widget
afya_moja_core/src/presentation/content/content_item
afya_moja_core/src/presentation/content/content_reactions_widget
afya_moja_core/src/presentation/content/estimated_read_time_badge
afya_moja_core/src/presentation/content/faq_item
afya_moja_core/src/presentation/content/hero_image_wrapper
afya_moja_core/src/presentation/content/leading_graphic_widget
afya_moja_core/src/presentation/content/pdf_wrapper
afya_moja_core/src/presentation/content/placeholder_image
afya_moja_core/src/presentation/content/reaction_item
afya_moja_core/src/presentation/country_code_picker
afya_moja_core/src/presentation/create_new_pin_widget
afya_moja_core/src/presentation/custom_confirm_dialog
afya_moja_core/src/presentation/custom_shimmer_widget
afya_moja_core/src/presentation/custom_text_field
afya_moja_core/src/presentation/date_picker
afya_moja_core/src/presentation/facility/custom_chip
afya_moja_core/src/presentation/facility/search_facility_item
afya_moja_core/src/presentation/generic_empty_data_widget
afya_moja_core/src/presentation/generic_error_widget
afya_moja_core/src/presentation/information_list_card
afya_moja_core/src/presentation/inputs
afya_moja_core/src/presentation/login_counter_widget
afya_moja_core/src/presentation/login_error_widget
afya_moja_core/src/presentation/notification_list_item
afya_moja_core/src/presentation/notifications/notifications_filters_shimmer_widget
afya_moja_core/src/presentation/notifications/notifications_list_shimmer_widget
afya_moja_core/src/presentation/onboarding_scaffold
afya_moja_core/src/presentation/onboarding_scaffold_header
afya_moja_core/src/presentation/phone_input
afya_moja_core/src/presentation/pin_request_scaffold
afya_moja_core/src/presentation/platform_loader
afya_moja_core/src/presentation/responsive_widget
afya_moja_core/src/presentation/search_widget
afya_moja_core/src/presentation/selection_option_field
afya_moja_core/src/presentation/spaces
afya_moja_core/src/presentation/text_form_hint_text
afya_moja_core/src/presentation/text_theme
afya_moja_core/src/presentation/user_profile_item
afya_moja_core/src/presentation/video_player/chewie_video_player
afya_moja_core/src/services/custom_navigator_observer
afya_moja_core/src/services/video_player_initializer
afya_moja_core/src/types
afya_moja_core/src/widget_keys
app_wrapper/app_config
app_wrapper/app_wrapper
app_wrapper/app_wrapper_base
app_wrapper/base_context
app_wrapper/camera_wrapper
app_wrapper/device_capabilities
app_wrapper/endpoints
app_wrapper/endpoints_context
communities/components/avatar
communities/components/badge_widget
communities/components/generic_zero_state_widget
communities/core/entities/chat_api
communities/core/entities/community_utils
communities/core/entities/endpoints
communities/core/entities/event_types
communities/core/entities/m_message
communities/core/entities/m_room
communities/core/entities/m_room_power_level
communities/core/entities/m_room_user
communities/core/entities/m_sync_params
communities/core/entities/m_sync_response
communities/core/entities/m_sync_state
communities/core/entities/m_user
communities/core/entities/strings
communities/core/entities/uint8_list_converter
dart_fcm/fcm
dart_fcm/flutter_fire
dart_fcm/helpers
dart_fcm/reminder_notification
dart_fcm/setup_on_message
domain_objects/entities/address
domain_objects/entities/auth_credential_response
domain_objects/entities/bio_data
domain_objects/entities/client_profile
domain_objects/entities/communication_settings
domain_objects/entities/cover
domain_objects/entities/customer
domain_objects/entities/location
domain_objects/entities/otp_response
domain_objects/entities/payables_account
domain_objects/entities/receivables_account
domain_objects/entities/supplier_profile
domain_objects/entities/user
domain_objects/entities/user_profile
domain_objects/entities/user_response
domain_objects/failures/exception
domain_objects/value_objects/app_string_const
domain_objects/value_objects/email_address
flutter_graphql_client/constants
flutter_graphql_client/flutter_graphql_client
flutter_graphql_client/i_flutter_graphql_client
misc_utilities/bottom_sheet_builder
misc_utilities/constants
misc_utilities/file_manager
misc_utilities/file_manager_logic
misc_utilities/loading_wrapper
misc_utilities/misc
misc_utilities/mutations
misc_utilities/number_constants
misc_utilities/phone_constants
misc_utilities/refresh_token_manager
misc_utilities/responsive_widget
misc_utilities/string_constant
misc_utilities/types
sghi_core
shared_themes/constants
ui_components/src/animated_count
ui_components/src/badge
ui_components/src/bewell_select_input
ui_components/src/coming_soon_page
ui_components/src/communication_setting_widget
ui_components/src/constants
ui_components/src/country_picker
ui_components/src/fancy_loading
ui_components/src/helpers
ui_components/src/inputs
ui_components/src/platform_loader
ui_components/src/profile_avatar
ui_components/src/profile_banner
ui_components/src/resend_phone_code
ui_components/src/show_alert_snack_bar
ui_components/src/show_info_bottomsheet
ui_components/src/small_appbar
ui_components/src/snack_bar
ui_components/src/snack_bar_action
ui_components/src/time_picker
ui_components/src/try_new_features
ui_components/src/verify_phone_otp
user_profile/add_contact
user_profile/constants
user_profile/contact_item
user_profile/contact_items_card
user_profile/contact_type
user_profile/contact_utils
user_profile/contacts
user_profile/helpers
user_profile/mutations
user_profile/set_to_primary
user_profile/term_and_conditions