nravepay 1.2.3 nravepay: ^1.2.3 copied to clipboard
Nravepay is a package that makes accepting card payments in a flutter project easier using Flutterwave.
We analyzed this package 2 days ago, and awarded it 80 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
.
10/10 points: 20% or more of the public API has dartdoc comments
103 out of 440 API elements (23.4 %) have documentation comments.
Some symbols that are missing documentation: nravepay
, nravepay.AddCardPage
, nravepay.AddCardPage.AddCardPage
, nravepay.Authorization
, nravepay.Authorization.Authorization
.
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:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Linux`.
Because:
package:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `macOS`.
Because:
package:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.dart
that imports:package:webview_flutter/webview_flutter.dart
that declares support for platforms:Android
,iOS
.
Package does not support platform `Web`.
Because:
package:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.dart
that imports:package:webview_flutter/webview_flutter.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:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.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:nravepay/nravepay.dart
that imports:package:nravepay/src/pages/pages.dart
that imports:package:nravepay/src/pages/webview.page.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 14 issues. Showing the first 2:
ERROR: The getter 'subtitle2' isn't defined for the type 'TextTheme'.
lib/src/widgets/bankcard.widget.dart:50:56
╷
50 │ style: Theme.of(context).textTheme.subtitle2,
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/bankcard.widget.dart
ERROR: The getter 'subtitle2' isn't defined for the type 'TextTheme'.
lib/src/widgets/bankcard.widget.dart:53:58
╷
53 │ style: Theme.of(context).textTheme.subtitle2),
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/widgets/bankcard.widget.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
^2.8.2 |
2.12.0 | 2.12.0 |
bloc |
^8.0.3 |
8.1.4 | 8.1.4 |
cupertino_icons |
^1.0.4 |
1.0.8 | 1.0.8 |
dio |
^4.0.4 |
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_bloc |
^8.0.1 |
8.1.6 | 8.1.6 |
get_it |
^7.2.0 |
7.7.0 | 8.0.2 |
intl |
^0.17.0 |
0.17.0 | 0.20.0 |
tripledes_nullsafety |
^1.0.3 |
1.0.3 | 1.0.3 |
websafe_svg |
^2.1.1 |
2.1.3+1 | 3.0.1+6 |
webview_flutter |
^3.0.1 |
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 |
convert |
- | 3.1.2 | 3.1.2 |
flutter_svg |
- | 1.1.6 | 2.0.14 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
nested |
- | 1.0.0 | 1.0.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 |
provider |
- | 6.1.2 | 6.1.2 |
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 5 issues. Showing the first 2:
The constraint `^4.0.4` 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 `^7.2.0` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
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 4 errors:
UNDEFINED_GETTER
-lib/src/widgets/bankcard.widget.dart:50:56
- The getter 'subtitle2' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/src/widgets/bankcard.widget.dart:53:58
- The getter 'subtitle2' isn't defined for the type 'TextTheme'.UNDEFINED_GETTER
-lib/src/widgets/bankcard.widget.dart:60:54
- The getter 'caption' isn't defined for the type 'TextTheme'.
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.