thawani_payment 0.0.6 thawani_payment: ^0.0.6 copied to clipboard
Flutter package helps you to use thawani checkout api , and add thawani payment in the Flutter App
We analyzed this package 15 hours ago, and awarded it 140 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
.
10/10 points: 20% or more of the public API has dartdoc comments
16 out of 51 API elements (31.4 %) have documentation comments.
Some symbols that are missing documentation: create
, create.Create
, create.Create.Create
, create.Create.Create.fromJson
, create.Create.code
.
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/widgets/pay_button.dart
that imports:package:thawani_payment/widgets/pay.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/widgets/pay_button.dart
that imports:package:thawani_payment/widgets/pay.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/widgets/pay_button.dart
that imports:package:thawani_payment/widgets/pay.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 3 issues. Showing the first 2:
INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/widgets/pay_button.dart:110:20
╷
110 │ elevation: MaterialStateProperty.all(0),
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/pay_button.dart
INFO: 'MaterialStateProperty' is deprecated and shouldn't be used. Use WidgetStateProperty instead. Moved to the Widgets layer to make code available outside of Material. This feature was deprecated after v3.19.0-0.3.pre.
lib/widgets/pay_button.dart:111:16
╷
111 │ shape: MaterialStateProperty.all(
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/widgets/pay_button.dart
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 |
http |
^0.13.5 |
0.13.6 | 1.2.2 |
webview_flutter |
^4.0.6 |
4.9.0 | 4.10.0 |
webview_flutter_android |
^3.4.2 |
3.16.9 | 4.0.0 |
webview_flutter_wkwebview |
^3.2.1 |
3.16.0 | 3.16.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
http_parser |
- | 4.0.2 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
vector_math |
- | 2.1.4 | 2.1.4 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.13.5` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^3.4.2` on webview_flutter_android does not support the stable version `4.0.0`, that was published 20 days ago.
When webview_flutter_android is 30 days old, this package will no longer be awarded points in this category.
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.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.