b24_payment_sdk 1.1.11 copy "b24_payment_sdk: ^1.1.11" to clipboard
b24_payment_sdk: ^1.1.11 copied to clipboard

Package payment SDK for merchant.

4
likes
110/ 160
pub points
154
downloads

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

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

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 60 to 180 characters to describe the package, what it does, and its target use case.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: b24_payment_sdk,
    • contains a version property, and,
    • does not contain a publish_to property.

Could not find any pubspec.yaml in the repository.

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.

partial
Provide documentation
10 / 20trigger folding of the section

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

4 out of 223 API elements (1.8 %) 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: api_checkout_detail, api_checkout_detail.Message, api_checkout_detail.MessageKh, api_checkout_detail.errorCode, api_checkout_detail.fetchDataFromApi.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:b24_payment_sdk/b24_payment_sdk.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:b24_payment_sdk/b24_payment_sdk.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:b24_payment_sdk/b24_payment_sdk.dart that declares support for platforms: Android, iOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Web`.

Because:

  • package:b24_payment_sdk/b24_payment_sdk.dart that imports:
  • package:b24_payment_sdk/src/main.dart that imports:
  • package:b24_payment_sdk/src/widgets/_show_bottom_sheet.dart that imports:
  • package:b24_payment_sdk/src/widgets/khqr_payment.dart that imports:
  • package:b24_payment_sdk/logic/socket_server_manager.dart that imports:
  • package:b24_payment_sdk/src/widgets/success_screen.dart that imports:
  • package:b24_payment_sdk/src/helpers/share_image_success.dart that imports:
  • package:b24_payment_sdk/src/helpers/save_image_success.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:b24_payment_sdk/b24_payment_sdk.dart that imports:
  • package:b24_payment_sdk/src/main.dart that imports:
  • package:universal_html/html.dart that imports:
  • package:universal_html/src/_sdk/html.dart that imports:
  • package:universal_html/src/_sdk_html_additions.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 149 issues. Showing the first 2:

WARNING: The value of the local variable 'anchor' isn't used.

lib/src/helpers/save_image.dart:55:13

   ╷
55 │       final anchor = html.AnchorElement(href: url)
   │             ^^^^^^
   ╵

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

WARNING: The value of the local variable 'anchor' isn't used.

lib/src/helpers/save_image_success.dart:109:13

    ╷
109 │       final anchor = html.AnchorElement(href: url)
    │             ^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cached_network_image ^3.3.1 3.4.1 3.4.1
connectivity_plus ^5.0.2 5.0.2 6.1.1
dotted_decoration ^2.0.0 2.0.0 2.0.0
esys_flutter_share_plus ^2.2.0 2.3.0 2.3.0
flutter flutter 0.0.0 0.0.0
flutter_svg ^2.0.10+1 2.0.16 2.0.16
go_router ^13.2.4 13.2.5 14.6.2
google_fonts ^6.2.1 6.2.1 6.2.1
http ^1.1.0 1.2.2 1.2.2
image_gallery_saver ^2.0.3 2.0.3 2.0.3
intl ^0.19.0 0.19.0 0.20.1
material_symbols_icons ^4.2671.0 4.2801.0 4.2801.0
path_provider ^2.1.1 2.1.5 2.1.5
permission_handler ^11.3.1 11.3.1 11.3.1
provider ^6.1.2 6.1.2 6.1.2
responsive_builder ^0.7.1 0.7.1 0.7.1
shared_preferences ^2.0.10 2.3.4 2.3.4
socket_io_client ^2.0.3+1 2.0.3+1 3.0.2
sticky_headers ^0.3.0+2 0.3.0+2 0.3.0+2
universal_html ^2.2.4 2.2.4 2.2.4
universal_platform ^1.1.0 1.1.0 1.1.0
url_launcher ^6.1.14 6.3.1 6.3.1
webview_flutter ^4.4.2 4.10.0 4.10.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.3.0 1.4.0
charcode - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_web_plugins - 0.0.0 0.0.0
html - 0.15.5 0.15.5
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.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.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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
permission_handler_android - 12.0.13 12.0.13
permission_handler_apple - 9.4.5 9.4.5
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.2.3 4.2.3
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.28.0 0.28.0
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.0 0.0.0
socket_io_common - 2.0.3 3.0.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.1 2.4.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_graphics - 1.1.15 1.1.15
vector_graphics_codec - 1.1.12 1.1.12
vector_graphics_compiler - 1.1.16 1.1.16
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
webview_flutter_android - 4.2.0 4.2.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.16.3 3.16.3
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^5.0.2` on connectivity_plus does not support the stable version `6.0.0`.

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

The constraint `^13.2.4` on go_router does not support the stable version `14.0.0`.

Try running dart pub upgrade --major-versions go_router 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.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.