bootpay 4.9.6 copy "bootpay: ^4.9.6" to clipboard
bootpay: ^4.9.6 copied to clipboard

A Bootpay plugin that provides payment api on Android, iOS and Web.

25
likes
100/ 140
pub points
87%
popularity

We analyzed this package 22 hours ago, and awarded it 100 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

OUT: Documenting bootpay... Discovering libraries... Linking elements... Precaching local docs for 820596 elements... Initialized dartdoc with 1551 libraries Generating docs for library constant/bootpay_constant.dart from package:bootpay/constant/bootpay_constant.dart... Generating docs for library user_info.dart from package:bootpay/user_info.dart... Generating docs for library model/item.dart from package:bootpay/model/item.dart... Generating docs for library model/extra.dart from package:bootpay/model/extra.dart... Generating docs for library model/user.dart from package:bootpay/model/user.dart... [23 more lines] ERR: warning: deprecated dartdoc usage: The '--nodoc' option is deprecated, and will soon be removed. from package-bootpay: file:///tmp/pana_MORHWE warning: bootpay_api has no library level documentation comments from bootpay_api: (file:///tmp/pana_MORHWE/lib/shims/bootpay_web.dart:3:9) error: file already written at "bootpay_api/bootpay_api-library.html" for symbol bootpay_api: (file:///tmp/pana_MORHWE/lib/shims/bootpay_web.dart:3:9) conflicting with file already generated by bootpay_api: (file:///tmp/pana_MORHWE/lib/bootpay_api.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'bootpay_api' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [13 more lines]

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:bootpay/bootpay.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Linux`.

Because:

  • package:bootpay/bootpay.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `macOS`.

Because:

  • package:bootpay/bootpay.dart that declares support for platforms: Android, iOS, Web.

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:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:bootpay/bootpay.dart that imports:
  • package:bootpay/model/payload.dart that imports:
  • package:bootpay/config/bootpay_config.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 90 issues. Showing the first 2:

WARNING: The method doesn't override an inherited method.

lib/bootpay.dart:35:10

   ╷
35 │   String applicationId(String webApplicationId, String androidApplicationId, String iosApplicationId) {
   │          ^^^^^^^^^^^^^
   ╵

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

WARNING: This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final: BootpayWebView.onProgressShow, BootpayWebView.showCloseButton, BootpayWebView.closeButton, BootpayWebView.userAgent, BootpayWebView.requestType, BootpayWebView.params

lib/bootpay_webview.dart:23:7

   ╷
23 │ class BootpayWebView extends StatelessWidget {
   │       ^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
bootpay_webview_flutter 4.3.2 4.3.2 4.3.2
bootpay_webview_flutter_android 3.7.3 3.7.3 3.7.3
bootpay_webview_flutter_wkwebview 3.4.2 3.4.2 3.4.2
encrypt ^5.0.1 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
fluttertoast 8.2.4 8.2.4 8.2.5
get ^4.6.5 4.6.6 4.6.6
http ^0.13.5 0.13.6 1.2.1
intl 0.18.1 0.18.1 0.19.0
js ^0.6.4 0.6.7 0.7.1
package_info_plus ^4.0.2 4.2.0 8.0.0
shared_preferences 2.1.1 2.1.1 2.2.3
uuid 3.0.7 3.0.7 4.4.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.2 1.5.2
async - 2.11.0 2.11.0
bootpay_webview_flutter_platform_interface - 2.3.0 2.3.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
http_parser - 4.0.2 4.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
package_info_plus_platform_interface - 2.0.1 3.0.0
path - 1.9.0 1.9.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.0 3.9.0
shared_preferences_android - 2.2.2 2.2.2
shared_preferences_foundation - 2.3.5 2.3.5
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4

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

Found 7 issues. Showing the first 2:

The constraint `8.2.4` on fluttertoast does not support the stable version `8.2.5`, that was published 11 days ago.

When fluttertoast is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions fluttertoast to update the constraint.

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.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.