thawani_payment 1.2.4 thawani_payment: ^1.2.4 copied to clipboard
Flutter package helps you to use thawani checkout api with save the cards , and add thawani payment in the Flutter App
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/abom-me/thawani_payment/issues
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
67 out of 346 API elements (19.4 %) 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: alerts
, alerts.Alert
, alerts.Alert.Alert
, alerts.Alert.loading
, alerts.Alert.msg
.
10/10 points: Package has an example and has no issues with screenshots
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:thawani_payment/thawani_payment.dart
that imports:package:thawani_payment/pay.dart
that imports:package:thawani_payment/widgets/saved_cards_screen.dart
that imports:package:thawani_payment/widgets/saved_pay_screen.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:thawani_payment/thawani_payment.dart
that imports:package:thawani_payment/pay.dart
that imports:package:thawani_payment/widgets/saved_cards_screen.dart
that imports:package:thawani_payment/widgets/saved_pay_screen.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Web`.
Because:
package:thawani_payment/thawani_payment.dart
that imports:package:thawani_payment/pay.dart
that imports:package:thawani_payment/widgets/saved_cards_screen.dart
that imports:package:thawani_payment/widgets/saved_pay_screen.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
,macOS
.
0/0 points: WASM compatibility
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: The file name 'thawani_paymentIntent.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run flutter analyze lib/viewmodel/thawani_paymentIntent.dart
/tmp/pana_MALLVK/lib/helper/alerts.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_svg |
^2.0.10+1 |
2.0.16 | 2.0.16 |
http |
^1.2.1 |
1.2.2 | 1.2.2 |
shared_preferences |
^2.2.3 |
2.3.4 | 2.3.4 |
url_launcher |
^6.2.6 |
6.3.1 | 6.3.1 |
webview_flutter |
^4.7.0 |
4.9.0 | 4.10.0 |
webview_flutter_android |
^3.16.2 |
3.16.9 | 4.2.0 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.16.2` on webview_flutter_android does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions webview_flutter_android
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.22.17
, Flutter 3.27.0
, Dart 3.6.0
.
Check the analysis log for details.