flutterwave_payment 0.0.4+1 flutterwave_payment: ^0.0.4+1 copied to clipboard
A new Flutter plugin for flutterwave payment integration
We analyzed this package 2 days ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
39 out of 54 API elements (72.2 %) have documentation comments.
Some symbols that are missing documentation: flutterwave_payment
, flutterwave_payment.RavePayInitializer
, flutterwave_payment.RavePayInitializer.RavePayInitializer
, flutterwave_payment.RavePayManager
, flutterwave_payment.RavePayManager.RavePayManager
.
10/10 points: Package has an example
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:flutterwave_payment/flutterwave_payment.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:flutterwave_payment/flutterwave_payment.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:flutterwave_payment/flutterwave_payment.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:flutterwave_payment/flutterwave_payment.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:flutterwave_payment/flutterwave_payment.dart
that imports:package:flutterwave_payment/src/rave_pay_manager.dart
that imports:package:flutterwave_payment/src/ui/payment/rave_pay_widget.dart
that imports:package:flutterwave_payment/src/ui/payment/pages/ug_mobile_money_payment_widget.dart
that imports:package:flutterwave_payment/src/ui/payment/pages/base_payment_page.dart
that imports:package:flutterwave_payment/src/manager/base_transaction_manager.dart
that imports:package:flutterwave_payment/src/ui/common/webview_widget.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_wkwebview/webview_flutter_wkwebview.dart
that declares support for platforms:iOS
.
Package does not support platform `iOS`.
Because:
package:flutterwave_payment/flutterwave_payment.dart
that imports:package:flutterwave_payment/src/rave_pay_manager.dart
that imports:package:flutterwave_payment/src/ui/payment/rave_pay_widget.dart
that imports:package:flutterwave_payment/src/ui/payment/pages/ug_mobile_money_payment_widget.dart
that imports:package:flutterwave_payment/src/ui/payment/pages/base_payment_page.dart
that imports:package:flutterwave_payment/src/manager/base_transaction_manager.dart
that imports:package:flutterwave_payment/src/ui/common/webview_widget.dart
that imports:package:webview_flutter/webview_flutter.dart
that imports:package:webview_flutter/src/webview.dart
that imports:package:webview_flutter_android/webview_surface_android.dart
that declares support for platforms:Android
.
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 69 issues. Showing the first 2:
ERROR: The method 'FlatButton' isn't defined for the type 'BaseTransactionManager'.
lib/src/manager/base_transaction_manager.dart:152:11
╷
152 │ FlatButton(onPressed: closeDialog, child: Text('NO')),
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/manager/base_transaction_manager.dart
ERROR: The method 'FlatButton' isn't defined for the type 'BaseTransactionManager'.
lib/src/manager/base_transaction_manager.dart:153:11
╷
153 │ FlatButton(onPressed: charge, child: Text('YES'))
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/manager/base_transaction_manager.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.6.1 |
2.12.0 | 2.12.0 |
dart_des |
^1.0.0 |
1.0.2 | 1.0.2 |
dio |
^4.0.0 |
4.0.6 | 5.7.0 |
equatable |
^2.0.3 |
2.0.5 | 2.0.5 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_svg |
^1.0.3 |
1.1.6 | 2.0.14 |
get_it |
^7.2.0 |
7.7.0 | 8.0.2 |
http |
^0.13.4 |
0.13.6 | 1.2.2 |
intl |
^0.17.0 |
0.17.0 | 0.20.0 |
meta |
^1.7.0 |
1.15.0 | 1.16.0 |
tripledes_nullsafety |
^1.0.1 |
1.0.3 | 1.0.3 |
webview_flutter |
^3.0.0 |
3.0.4 | 4.10.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
characters |
- | 1.3.0 | 1.3.1 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.18.0 | 1.19.1 |
http_parser |
- | 4.0.2 | 4.1.1 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
path |
- | 1.9.1 | 1.9.1 |
path_drawing |
- | 1.0.1 | 1.0.1 |
path_parsing |
- | 1.1.0 | 1.1.0 |
petitparser |
- | 6.0.2 | 6.0.2 |
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_android |
- | 2.10.4 | 4.0.2 |
webview_flutter_platform_interface |
- | 1.9.5 | 2.10.0 |
webview_flutter_wkwebview |
- | 2.9.5 | 3.16.2 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 6 issues. Showing the first 2:
The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^1.0.3` on flutter_svg does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_svg
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 15 errors:
UNDEFINED_METHOD
-lib/src/manager/base_transaction_manager.dart:152:11
- The method 'FlatButton' isn't defined for the type 'BaseTransactionManager'.UNDEFINED_METHOD
-lib/src/manager/base_transaction_manager.dart:153:11
- The method 'FlatButton' isn't defined for the type 'BaseTransactionManager'.UNDEFINED_METHOD
-lib/src/ui/base_widget.dart:65:15
- The method 'FlatButton' isn't defined for the type 'BaseState'.
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.