korapay_flutter 0.4.1 copy "korapay_flutter: ^0.4.1" to clipboard
korapay_flutter: ^0.4.1 copied to clipboard

Korapay payment gateway integration for Flutter. This SDK allows easy integration of Korapay's payment services into your Flutter applications with a customizable UI component.

120/ 160
pub points
56
downloads

We analyzed this package 30 hours ago, and awarded it 120 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/korapay/korapay-flutter 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

55 out of 68 API elements (80.9 %) have documentation comments.

Some symbols that are missing documentation: korapay_flutter, korapay_flutter.KorapayCheckout.KorapayCheckout.new, korapay_flutter.KorapayCustomer, korapay_flutter.KorapayPaymentPage.description, korapay_flutter.KorapayPaymentPage.initialAmount.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:korapay_flutter/korapay_flutter.dart that imports:
  • package:korapay_flutter/src/widgets/korapay_payment_page.dart that imports:
  • package:flutter_svg/flutter_svg.dart that imports:
  • package:flutter_svg/svg.dart that imports:
  • package:flutter_svg/src/default_theme.dart that imports:
  • package:flutter_svg/src/loaders.dart that imports:
  • package:flutter_svg/src/utilities/http.dart that imports:
  • package:flutter_svg/src/utilities/_http_io.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.

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 5 issues. Showing the first 2:

WARNING: The asset directory 'assets/images/' doesn't exist.

pubspec.yaml:25:7

   ╷
25 │     - assets/images/
   │       ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze pubspec.yaml

INFO: 'activeColor' is deprecated and shouldn't be used. Use activeThumbColor instead. This feature was deprecated after v3.31.0-2.0.pre.

lib/src/widgets/korapay_payment_page.dart:335:25

    ╷
335 │                         activeColor: Colors.green.shade600,
    │                         ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/korapay_payment_page.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
flutter_svg ^2.0.9 2.0.9 2.2.4
http ^0.13.4 0.13.6 1.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.2 7.0.2
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_graphics - 1.1.10+1 1.1.20
vector_graphics_codec - 1.1.10+1 1.1.13
vector_graphics_compiler - 1.1.10+1 1.2.0
vector_math - 2.2.0 2.2.0
xml - 6.6.1 6.6.1

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http 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.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
56
downloads

Publisher

unverified uploader

Weekly Downloads

Korapay payment gateway integration for Flutter. This SDK allows easy integration of Korapay's payment services into your Flutter applications with a customizable UI component.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, http

More

Packages that depend on korapay_flutter