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 10 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
.
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
Package not compatible with runtime wasm
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:flutter_svg/svg.dart
that imports:package:flutter_svg/src/default_theme.dart
that imports:package:flutter_svg/src/loaders.dart
that imports:package:flutter_svg/src/utilities/file.dart
that imports:package:flutter_svg/src/utilities/_file_io.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full 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
lib/helper/alerts.dart doesn't match the Dart formatter.
To format your files run: dart format .
10/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.10+1 | 2.0.10+1 |
http |
^1.2.1 |
1.2.2 | 1.2.2 |
shared_preferences |
^2.2.3 |
2.3.2 | 2.3.2 |
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.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
ffi |
- | 2.1.3 | 2.1.3 |
file |
- | 7.0.1 | 7.0.1 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
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 |
path_parsing |
- | 1.0.3 | 1.0.3 |
path_provider_linux |
- | 2.2.1 | 2.2.1 |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 |
path_provider_windows |
- | 2.3.0 | 2.3.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
platform |
- | 3.1.6 | 3.1.6 |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 |
shared_preferences_android |
- | 2.3.3 | 2.3.3 |
shared_preferences_foundation |
- | 2.5.3 | 2.5.3 |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 |
shared_preferences_web |
- | 2.4.2 | 2.4.2 |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 |
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 |
url_launcher_android |
- | 6.3.13 | 6.3.13 |
url_launcher_ios |
- | 6.3.1 | 6.3.1 |
url_launcher_linux |
- | 3.2.0 | 3.2.0 |
url_launcher_macos |
- | 3.2.1 | 3.2.1 |
url_launcher_platform_interface |
- | 2.3.2 | 2.3.2 |
url_launcher_web |
- | 2.3.3 | 2.3.3 |
url_launcher_windows |
- | 3.1.3 | 3.1.3 |
vector_graphics |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_codec |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_compiler |
- | 1.1.11+1 | 1.1.11+1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 1.1.0 | 1.1.0 |
webview_flutter_platform_interface |
- | 2.10.0 | 2.10.0 |
webview_flutter_wkwebview |
- | 3.16.0 | 3.16.0 |
xdg_directories |
- | 1.1.0 | 1.1.0 |
xml |
- | 6.5.0 | 6.5.0 |
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`, 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.