mercado_pago_mobile_checkout 0.2.1
mercado_pago_mobile_checkout: ^0.2.1 copied to clipboard
Mercado Pago's Unofficial Flutter checkout library that implements the MercadoPago Mobile Checkout using the native SDK.
We analyzed this package 4 days ago, and awarded it 110 pub points (of a possible 160):
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: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 23 API elements (8.7 %) 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: mercado_pago_mobile_checkout, mercado_pago_mobile_checkout.MercadoPagoMobileCheckout, mercado_pago_mobile_checkout.MercadoPagoMobileCheckout.MercadoPagoMobileCheckout.new, mercado_pago_mobile_checkout.PaymentResult, mercado_pago_mobile_checkout.PaymentResult.PaymentResult.fromJson.
10/10 points: Package has an example
10/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:mercado_pago_mobile_checkout/mercado_pago_mobile_checkout.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:mercado_pago_mobile_checkout/mercado_pago_mobile_checkout.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:mercado_pago_mobile_checkout/mercado_pago_mobile_checkout.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:mercado_pago_mobile_checkout/mercado_pago_mobile_checkout.dartthat declares support for platforms:Android,iOS.
Swift Package Manager support:
Package does not support the Swift Package Manager on iOS
The package does not contain ios/mercado_pago_mobile_checkout/Package.swift.
Note: This iOS or macOS plugin does not support the Swift Package Manager, resulting in a partial score. See https://docs.flutter.dev/to/spm for details.
Built-in Kotlin support:
Legacy Kotlin configuration detected in `android/build.gradle`.
This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.
Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/payment_result.freezed.dart:308:17
╷
308 │ bool operator ==(dynamic other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/payment_result.freezed.dart
WARNING: This API is available since SDK 2.14.0, but constraints '>=2.12.0 <3.0.0' don't guarantee it.
lib/src/payment_result.freezed.dart:339:30
╷
339 │ int get hashCode => Object.hash(
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/payment_result.freezed.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
freezed_annotation |
^2.1.0 |
2.4.4 | 3.1.0 | |
json_annotation |
^4.7.0 |
4.12.0 | 4.12.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.18.0 | 1.19.0 | |
vector_math |
- | 2.2.0 | 2.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.0` on freezed_annotation does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.14, Flutter 3.44.5, Dart 3.12.2.
Check the analysis log for details.