ade_flutterwave_working_version 0.0.2+1 copy "ade_flutterwave_working_version: ^0.0.2+1" to clipboard
ade_flutterwave_working_version: ^0.0.2+1 copied to clipboard

outdated

Flutterwave payment gateway for flutter that works fine.

6
likes
60/ 160
pub points
66%
popularity

We analyzed this package 20 hours ago, and awarded it 60 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

3 out of 14 API elements (21.4 %) have documentation comments.

Some symbols that are missing documentation: ade_flutterwave, ade_flutterwave.AdeFlutterWavePay, ade_flutterwave.AdeFlutterWavePay.AdeFlutterWavePay, ade_flutterwave.AdeFlutterWavePay.data, example.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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:ade_flutterwave_working_version/core/ade_flutterwave.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:ade_flutterwave_working_version/core/ade_flutterwave.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:ade_flutterwave_working_version/core/ade_flutterwave.dart that imports:
  • package:webview_flutter/webview_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:ade_flutterwave_working_version/core/ade_flutterwave.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:ade_flutterwave_working_version/core/ade_flutterwave.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:ade_flutterwave_working_version/core/ade_flutterwave.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.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 15 issues. Showing the first 2:

ERROR: The method 'showSnackBar' isn't defined for the type 'ScaffoldState'.

lib/core/ade_flutterwave.dart:73:44

   ╷
73 │                 _scaffoldKey.currentState?.showSnackBar(const SnackBar(
   │                                            ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/ade_flutterwave.dart

ERROR: The method 'showSnackBar' isn't defined for the type 'ScaffoldState'.

lib/core/ade_flutterwave.dart:97:48

   ╷
97 │                     _scaffoldKey.currentState?.showSnackBar(const SnackBar(
   │                                                ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/ade_flutterwave.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
cupertino_icons ^1.0.2 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
http ^0.13.5 0.13.6 1.2.2
loading_overlay ^0.3.0 0.3.0 0.4.2
webview_flutter ^3.0.4 3.0.4 4.10.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_android - 2.10.4 4.1.0
webview_flutter_platform_interface - 1.9.5 2.10.0
webview_flutter_wkwebview - 2.9.5 3.16.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 3 issues. Showing the first 2:

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 `^0.3.0` on loading_overlay does not support the stable version `0.4.0`.

Try running dart pub upgrade --major-versions loading_overlay 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 7 errors:

  • UNDEFINED_METHOD - lib/core/ade_flutterwave.dart:73:44 - The method 'showSnackBar' isn't defined for the type 'ScaffoldState'.
  • UNDEFINED_METHOD - lib/core/ade_flutterwave.dart:97:48 - The method 'showSnackBar' isn't defined for the type 'ScaffoldState'.
  • UNDEFINED_METHOD - lib/core/ade_flutterwave.dart:119:52 - The method 'showSnackBar' isn't defined for the type 'ScaffoldState'.

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.5, Dart 3.5.4.

Check the analysis log for details.