hubtel_merchant_checkout_sdk 0.0.2 copy "hubtel_merchant_checkout_sdk: ^0.0.2" to clipboard
hubtel_merchant_checkout_sdk: ^0.0.2 copied to clipboard

Flutter SDK for Hubtel Merchant Checkout

90/ 160
pub points
37
downloads

We analyzed this package 4 days ago, and awarded it 90 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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: GPL-3.0.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

3 out of 45 API elements (6.7 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: unified_checkout_sdk, unified_checkout_sdk.BankCardData, unified_checkout_sdk.BankCardData.BankCardData.fromJson, unified_checkout_sdk.BankCardData.BankCardData.new, unified_checkout_sdk.BankCardData.cardExpiryDate.

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 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:hubtel_merchant_checkout_sdk/hubtel_merchant_checkout_sdk.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_home_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/mandate/new_mandate_id_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/core_ui.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/app_image_widget.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:hubtel_merchant_checkout_sdk/hubtel_merchant_checkout_sdk.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_home_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/mandate/new_mandate_id_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/core_ui.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/app_image_widget.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:hubtel_merchant_checkout_sdk/hubtel_merchant_checkout_sdk.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_home_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/bank_pay/bank_pay_receipt_screen.dart that imports:
  • package:open_filex/open_filex.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:hubtel_merchant_checkout_sdk/hubtel_merchant_checkout_sdk.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/home/checkout_home_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/ux/mandate/new_mandate_id_screen.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/core_ui.dart that imports:
  • package:hubtel_merchant_checkout_sdk/src/core_ui/app_image_widget.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system_io.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 112 issues. Showing the first 2:

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: AppImageWidget.imageUrl, AppImageWidget.file, AppImageWidget.image, AppImageWidget.placeHolder, AppImageWidget.errorImage, AppImageWidget.width, AppImageWidget.height, AppImageWidget.borderRadius, AppImageWidget.boxFit

lib/src/core_ui/app_image_widget.dart:7:7

  ╷
7 │ class AppImageWidget extends StatelessWidget {
  │       ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core_ui/app_image_widget.dart

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: HBPlainTextButtonLarge.title, HBPlainTextButtonLarge.enabledTextColor, HBPlainTextButtonLarge.disabledTextColor, HBPlainTextButtonLarge.buttonAction, HBPlainTextButtonLarge.isEnabled, HBPlainTextButtonLarge.buttonPaddings, HBPlainTextButtonLarge.fontSize

lib/src/core_ui/buttons/hb_button_large.dart:5:7

  ╷
5 │ class HBPlainTextButtonLarge extends StatefulWidget {
  │       ^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core_ui/buttons/hb_button_large.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
animated_toggle_switch ^0.7.0 0.7.0 0.8.7
cached_network_image ^3.2.3 3.4.1 3.4.1
flutter_remix ^0.0.3 0.0.3 0.0.3
flutter_svg ^2.0.7 2.2.4 2.2.4
html_to_pdf_plus ^1.0.7 1.0.7 1.0.7
http ^1.6.0 1.6.0 1.6.0
intl ^0.19.0 0.19.0 0.20.2
open_filex ^4.7.0 4.7.0 4.7.0
path_provider ^2.0.4 2.1.5 2.1.5
pdf ^3.4.0 3.12.0 3.12.0
printing ^5.11.0 5.14.3 5.14.3
provider ^6.0.0 6.1.5+1 6.1.5+1
shared_preferences ^2.2.1 2.5.5 2.5.5
socket_io_client ^3.0.1 3.1.4 3.1.4
url_launcher ^6.0.12 6.3.2 6.3.2
webview_flutter ^4.2.4 4.13.1 4.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.9 4.0.9
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
barcode - 2.2.9 2.2.9
bidi - 2.0.13 2.0.13
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
code_assets - 1.0.0 1.0.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
glob - 2.1.3 2.1.3
hooks - 1.0.2 1.0.2
http_parser - 4.1.2 4.1.2
image - 4.8.0 4.8.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
native_toolchain_c - 0.17.6 0.17.6
nested - 1.0.0 1.0.0
objective_c - 9.3.0 9.3.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
path_provider_android - 2.2.23 2.2.23
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pdf_widget_wrapper - 1.0.4 1.0.4
petitparser - 7.0.2 7.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.5.0 6.5.0
pub_semver - 2.2.0 2.2.0
qr - 3.0.2 3.0.2
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.23 2.4.23
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
socket_io_common - 3.1.1 3.1.1
source_span - 1.10.2 1.10.2
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.2+3 2.4.2+3
sqflite_common - 2.5.6 2.5.6
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.29 6.3.29
url_launcher_ios - 6.4.1 6.4.1
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.2 2.4.2
url_launcher_windows - 3.1.5 3.1.5
uuid - 4.5.3 4.5.3
vector_graphics - 1.1.21 1.1.21
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.2.0 1.2.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1
webview_flutter_android - 4.10.15 4.10.15
webview_flutter_platform_interface - 2.15.1 2.15.1
webview_flutter_wkwebview - 3.24.2 3.24.2
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.7.0` on animated_toggle_switch does not support the stable version `0.8.0`.

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/src/utils/helpers/dialer_input.dart:8:11 - The method 'canLaunchUrl' isn't defined for the type 'Utils'.
  • UNDEFINED_METHOD - lib/src/utils/helpers/dialer_input.dart:9:17 - The method 'launchUrl' isn't defined for the type 'Utils'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Flutter 3.41.4, Dart 3.11.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: