stripe_package 0.0.73 copy "stripe_package: ^0.0.73" to clipboard
stripe_package: ^0.0.73 copied to clipboard

A Stripe Flutter package

0
likes
80/ 140
pub points
21%
popularity

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

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: stripe_package,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Could not accept branch name: (unknown).

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: BSD-3-Clause.

failed
Provide documentation
0 / 20trigger folding of the section

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

OUT: Documenting stripe_package... Discovering libraries... Linking elements... Precaching local docs for 691718 elements... Initialized dartdoc with 1328 libraries Generating docs for library paypal_package.dart from package:stripe_package/paypal_package.dart... Generating docs for library flutterwave222/models/requests/charge_card/charge_request_address.dart from package:stripe_package/flutterwave222/models/requests/charge_card/charge_request_address.dart... Generating docs for library flutterwave222/models/requests/charge_card/charge_card_request.dart from package:stripe_package/flutterwave222/models/requests/charge_card/charge_card_request.dart... Generating docs for library flutterwave222/models/requests/charge_card/validate_charge_request.dart from package:stripe_package/flutterwave222/models/requests/charge_card/validate_charge_request.[...] Generating docs for library flutterwave222/models/requests/authorization.dart from package:stripe_package/flutterwave222/models/requests/authorization.dart... [79 more lines] ERR: warning: flutterwave has no library level documentation comments from flutterwave: (file:///tmp/pana_PHQOHQ/lib/flutterwave222/flutterwave.dart:1:9) warning: stripe_package has no library level documentation comments from stripe_package: (file:///tmp/pana_PHQOHQ/lib/stripe_package.dart:1:9) warning: unresolved doc reference [logger] from utils.Utils.log: (file:///tmp/pana_PHQOHQ/lib/mtn_orange/utils/utils.dart:15:17) in documentation inherited from utils.Utils.log: (file:///tmp/pana_PHQOHQ/lib/mtn_orange/utils/utils.dart:15:17) warning: stripe_package has no library level documentation comments from stripe_package: (file:///tmp/pana_PHQOHQ/lib/home.dart:1:9) error: file already written at "stripe_package/stripe_package-library.html" [18 more lines]

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger 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:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.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:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS.
Package does not support platform `iOS`.

Because:

  • package:stripe_package/stripe_package.dart that imports:
  • package:stripe_package/flutterwave222/accountpay.dart that imports:
  • package:stripe_package/flutterwave222/core/flutterwave.dart that imports:
  • package:stripe_package/flutterwave222/widgets/home/flutterwave_payment.dart that imports:
  • package:stripe_package/flutterwave222/widgets/mobile_money/pay_with_mobile_money.dart that imports:
  • package:stripe_package/flutterwave222/widgets/card_payment/authorization_webview.dart that imports:
  • package:webview_flutter/webview_flutter.dart that imports:
  • package:webview_flutter/src/webview.dart that imports:
  • package:webview_flutter_android/webview_android_cookie_manager.dart that declares support for platforms: Android.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 119 issues. Showing the first 2:

WARNING: The value of the field '_scaffoldKey' isn't used.

lib/Transaction.dart:14:34

   ╷
14 │   final GlobalKey<ScaffoldState> _scaffoldKey = new GlobalKey<ScaffoldState>();
   │                                  ^^^^^^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/flutterwave222/accountpay.dart:352:18

    ╷
352 │     if (response == null) {
    │                  ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
dropdown_button2 ^1.9.2 1.9.4 2.3.9
flutter flutter 0.0.0 0.0.0
flutter_dotenv ^5.0.2 5.1.0 5.1.0
flutter_paypal ^0.0.8 0.0.8 0.2.0
flutter_stripe ^8.0.0+1 8.0.0+1 10.1.1
http ^0.13.5 0.13.6 1.2.1
http_auth ^1.0.1 1.0.4 1.0.4
logger ^1.1.0 1.4.0 2.2.0
stacked ^2.2.4 2.3.15+1 3.4.2
stacked_generator ^0.5.6 0.5.7 1.6.0
stacked_hooks ^0.2.1 0.2.4 0.2.4
stacked_services ^0.8.13 0.8.26 1.5.0
tripledes_nullsafety ^1.0.3 1.0.3 1.0.3
url_launcher ^6.1.7 6.2.6 6.2.6
uuid ^3.0.7 3.0.7 4.4.0
webview_flutter ^2.8.0 2.8.0 4.7.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 38.0.0 67.0.0
analyzer - 3.4.1 6.4.1
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
build - 2.4.1 2.4.1
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.2.3 2.3.6
file - 7.0.0 7.0.0
flutter_hooks - 0.20.5 0.20.5
flutter_spinkit - 5.2.1 5.2.1
flutter_web_plugins - 0.0.0 0.0.0
freezed_annotation - 2.4.1 2.4.1
get - 4.6.6 4.6.6
get_it - 7.7.0 7.7.0
glob - 2.1.2 2.1.2
http_parser - 4.0.2 4.0.2
json_annotation - 4.9.0 4.9.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
nested - 1.0.0 1.0.0
package_config - 2.1.0 2.1.0
path - 1.9.0 1.9.0
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.2 6.1.2
pub_semver - 2.1.4 2.1.4
recase - 4.1.0 4.1.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.2.2 1.5.0
source_span - 1.10.0 1.10.0
stacked_core - 1.2.4 1.2.4
string_scanner - 1.2.0 1.2.0
stripe_android - 8.0.0+1 10.1.1
stripe_ios - 8.0.0 10.1.0
stripe_platform_interface - 8.0.0 10.1.1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_io - 2.2.2 2.2.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
webview_flutter_android - 2.10.4 3.16.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.13.0
yaml - 3.1.2 3.1.2

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

Found 10 issues. Showing the first 2:

The constraint `^1.9.2` on dropdown_button2 does not support the stable version `2.0.0`.

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

The constraint `^0.0.8` on flutter_paypal does not support the stable version `0.2.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.