pay 1.1.0 icon indicating copy to clipboard operation
pay: ^1.1.0 copied to clipboard

A plug-in to add support for payments on Flutter applications.

646
likes
130/ 140
pub points
97%
popularity

We analyzed this package 6 hours ago, and awarded it 130 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: Apache-2.0.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 22 out of 31 API elements (71.0 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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:pay/pay.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

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

Because:

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

Because:

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

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

Package does not support platform `Android`.

Because:

  • package:pay/pay.dart that imports:
  • package:pay_ios/pay_ios.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:pay/pay.dart that imports:
  • package:pay_android/pay_android.dart that declares support for platforms: Android.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

INFO: 'Pay.Pay.withAssets' is deprecated and shouldn't be used. Prefer to use [Pay({ [PayProvider]: [PaymentConfiguration] })]. Take a look at the readme to see examples.

lib/src/widgets/pay_button.dart:69:15

   ╷
69 │             ? Pay.withAssets([paymentConfigurationAsset])
   │               ^^^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
flutterflutter0.0.00.0.0
flutter_localizationsflutter0.0.00.0.0
meta^1.3.01.8.01.8.0
pay_android^1.0.91.0.91.0.9
pay_ios^1.0.81.0.81.0.8
pay_platform_interface^1.0.31.0.31.0.3
Transitive dependencies
PackageConstraintCompatibleLatest
characters-1.2.11.2.1
clock-1.1.11.1.1
collection-1.17.01.17.1
flutter_svg-1.1.61.1.6
intl-0.17.00.18.0
js-0.6.50.6.7
material_color_utilities-0.2.00.2.0
path-1.8.21.8.3
path_drawing-1.0.11.0.1
path_parsing-1.0.11.0.1
petitparser-5.1.05.1.0
sky_engine-0.0.990.0.99
source_span-1.9.11.9.1
string_scanner-1.2.01.2.0
term_glyph-1.2.11.2.1
vector_math-2.1.42.1.4
xml-6.2.26.2.2
yaml-3.1.13.1.1

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

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.25, Flutter 3.7.0, Dart 2.19.0.