cowpay 0.0.4 copy "cowpay: ^0.0.4" to clipboard
cowpay: ^0.0.4 copied to clipboard

Cowpay is a payment gateway package using for online payment.

100/ 160
pub points
19
downloads

We analyzed this package 23 days ago, and awarded it 100 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

Homepage URL doesn't exist.

At the time of the analysis https://cowpay.me 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: BSD-2-Clause-Patent.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

385 out of 3420 API elements (11.3 %) 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: add_card_bloc, add_card_bloc.AddCardBloc, add_card_bloc.AddCardBloc.AddCardBloc.new, add_card_bloc.AddCardBloc.generateSignatureUseCase, add_card_bloc.AddCardBloc.getFees.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

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

Because:

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

Because:

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

Because:

  • package:cowpay/cowpay.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:cowpay/cowpay.dart that imports:
  • package:cowpay/scr/cowpay.dart that imports:
  • package:cowpay/scr/di/injection_container.dart that imports:
  • package:cowpay/features/payment_methods/payment_methods.dart that imports:
  • package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/screens/payment_methods_screen.dart that imports:
  • package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/payment_options_extension.dart that imports:
  • package:cowpay/routers/routers.dart that imports:
  • package:cowpay/routers/src/card_payment_router.dart that imports:
  • package:cowpay/features/card_payment/card_payment.dart that imports:
  • package:cowpay/features/card_payment/src/card_payment_presentation/card_payment_ui/screens/webview_screen.dart that imports:
  • package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart that declares support for platforms: iOS, macOS.
Package does not support platform `iOS`.

Because:

  • package:cowpay/cowpay.dart that imports:
  • package:cowpay/scr/cowpay.dart that imports:
  • package:cowpay/scr/di/injection_container.dart that imports:
  • package:cowpay/features/payment_methods/payment_methods.dart that imports:
  • package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/screens/payment_methods_screen.dart that imports:
  • package:cowpay/features/payment_methods/src/payment_methods_presentation/payment_methods_ui/payment_options_extension.dart that imports:
  • package:cowpay/routers/routers.dart that imports:
  • package:cowpay/routers/src/card_payment_router.dart that imports:
  • package:cowpay/features/card_payment/card_payment.dart that imports:
  • package:cowpay/features/card_payment/src/card_payment_presentation/card_payment_ui/screens/webview_screen.dart that imports:
  • package:webview_flutter_android/webview_flutter_android.dart that declares support for platforms: Android.
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 51 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/ui_components/src/enums.dart:19:7

   ╷
19 │       default:
   │       ^^^^^^^
   ╵

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

WARNING: This default clause is covered by the previous cases.

lib/ui_components/src/enums.dart:34:7

   ╷
34 │       default:
   │       ^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
auto_size_text ^3.0.0 3.0.0 3.0.0
crypto ^3.0.3 3.0.7 3.0.7
dartz ^0.10.1 0.10.1 0.10.1
dio ^5.0.0 5.9.0 5.9.0
equatable ^2.0.5 2.0.7 2.0.7
flutter_bloc ^8.1.2 8.1.6 9.1.1
flutter_screenutil ^5.6.1 5.9.3 5.9.3
flutter_spinkit ^5.2.0 5.2.2 5.2.2
flutter_svg ^2.0.2 2.2.3 2.2.3
fluttertoast ^8.2.2 8.2.14 9.0.0
get_it ^7.2.0 7.7.0 9.2.0
jwt_decode ^0.3.1 0.3.1 0.3.1
mask_text_input_formatter ^2.5.0 2.9.0 2.9.0
pretty_dio_logger ^1.3.1 1.4.0 1.4.0
webview_flutter ^4.2.2 4.9.0 4.13.0
webview_flutter_android ^3.9.2 3.16.9 4.10.11
webview_flutter_wkwebview ^3.7.2 3.23.5 3.23.5
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
bloc - 8.1.4 9.1.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
mime - 2.0.0 2.0.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
petitparser - 7.0.1 7.0.1
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.1 1.10.1
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.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.19 1.1.19
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
webview_flutter_platform_interface - 2.14.0 2.14.0
xml - 6.6.1 6.6.1

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

Found 4 issues. Showing the first 2:

The constraint `^8.1.2` on flutter_bloc does not support the stable version `9.0.0`.

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

The constraint `^8.2.2` on fluttertoast does not support the stable version `9.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 11 errors:

  • BODY_MIGHT_COMPLETE_NORMALLY - lib/network/src/network.dart:29:13 - The body might complete normally, causing 'null' to be returned, but the return type, 'FutureOr
  • NON_TYPE_IN_CATCH_CLAUSE - lib/network/src/network.dart:61:10 - The name 'DioException' isn't a type and can't be used in an on-catch clause.
  • UNDEFINED_IDENTIFIER - lib/network/src/network.dart:62:25 - Undefined name 'DioExceptionType'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: