checkout_ui_sdk 1.0.4 copy "checkout_ui_sdk: ^1.0.4" to clipboard
checkout_ui_sdk: ^1.0.4 copied to clipboard

A Flutter checkout UI SDK that initiates payment sessions and returns a redirect URL for web-based payment flows. Designed for merchant apps to collect required payment details and hand off securely t [...]

95/ 160
pub points
66
downloads

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

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

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

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/your-org/checkout_ui_sdk 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/your-org/checkout_ui_sdk 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/your-org/checkout_ui_sdk/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.4").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

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

2 out of 17 API elements (11.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: checkout_page, checkout_page.CheckoutPage, checkout_page.CheckoutPage.CheckoutPage.new, checkout_page.CheckoutPage.extraHeaders, checkout_page.CheckoutPage.merchantReturnUrl.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:checkout_ui_sdk/checkout_ui_sdk.dart that imports:
  • package:checkout_ui_sdk/checkout_page.dart that imports:
  • package:checkout_ui_sdk/checkout_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS, Windows, macOS, Web.

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

Package not compatible with platform Web

Because:

  • package:checkout_ui_sdk/checkout_ui_sdk.dart that imports:
  • package:checkout_ui_sdk/checkout_page.dart that imports:
  • package:checkout_ui_sdk/checkout_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/webview_environment.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:checkout_ui_sdk/checkout_ui_sdk.dart that imports:
  • package:checkout_ui_sdk/checkout_page.dart that imports:
  • package:checkout_ui_sdk/checkout_webview.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that imports:
  • package:flutter_inappwebview/src/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/main.dart that imports:
  • package:flutter_inappwebview/src/webview_environment/webview_environment.dart that imports:
  • package:flutter_inappwebview_platform_interface/flutter_inappwebview_platform_interface.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/main.dart that imports:
  • package:flutter_inappwebview_platform_interface/src/in_app_localhost_server.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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

INFO: 'onPopInvoked' is deprecated and shouldn't be used. Use onPopInvokedWithResult instead. This feature was deprecated after v3.22.0-12.0.pre.

lib/checkout_webview.dart:27:7

   ╷
27 │       onPopInvoked: (_) {
   │       ^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 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
crypto ^3.0.3 3.0.7 3.0.7
flutter_inappwebview ^6.1.5 6.1.5 6.1.5
google_fonts ^6.3.3 6.3.3 8.2.1
http ^1.2.2 1.6.0 1.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 2.0.0 2.0.0
collection - 1.19.1 1.19.1
ffi - 2.2.0 2.2.0
flutter_inappwebview_android - 1.1.3 1.1.3
flutter_inappwebview_internal_annotations - 1.3.0 1.3.0
flutter_inappwebview_ios - 1.1.2 1.1.2
flutter_inappwebview_macos - 1.1.2 1.1.2
flutter_inappwebview_platform_interface - 1.3.0+1 1.3.0+1
flutter_inappwebview_web - 1.1.2 1.1.2
flutter_inappwebview_windows - 0.6.0 0.6.0
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.0.3 1.0.3
jni_flutter - 1.0.2 1.0.2
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
objective_c - 9.6.0 9.6.0
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider - 2.1.6 2.1.6
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.0 2.2.0
record_use - 1.1.1 1.1.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.2 2.4.2
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^6.3.3` on google_fonts does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions google_fonts 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.18, Flutter 3.47.0, Dart 3.13.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
95
points
66
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Flutter checkout UI SDK that initiates payment sessions and returns a redirect URL for web-based payment flows. Designed for merchant apps to collect required payment details and hand off securely to hosted checkout pages.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

crypto, flutter, flutter_inappwebview, google_fonts, http

More

Packages that depend on checkout_ui_sdk