btcpay_client 0.1.5 icon indicating copy to clipboard operation
btcpay_client: ^0.1.5 copied to clipboard

Library to interact with a BTCPay or BitPay server. Usable in Flutter. Basic functionality is supported.

5
likes
90/ 130
pub points
30%
popularity

We analyzed this package 5 days ago, and awarded it 90 pub points (of a possible 130):

icon indicating section status
Follow Dart file conventions
20 / 20icon to trigger 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

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 24 out of 41 API elements (58.5 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:btcpay_client/btcpay_client.dart that imports:
  • package:btcpay_client/key_utils.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: The import of 'dart:async' is unnecessary because all of the used elements are also provided by the import of 'dart:core'.

lib/btcpay_client.dart:1:8

  ╷
1 │ import 'dart:async';
  │        ^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:pointycastle/api.dart' is unnecessary because all of the used elements are also provided by the import of 'package:pointycastle/pointycastle.dart'.

lib/key_utils.dart:10:8

   ╷
10 │ import 'package:pointycastle/api.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
asn1lib^0.6.00.6.51.1.0
base58check^1.0.11.0.12.0.0
convert^2.1.12.1.13.0.2
hex^0.1.20.1.20.2.0
pointycastle^1.0.21.0.23.6.0
Transitive dependencies
PackageConstraintCompatibleLatest
charcode-1.3.11.3.1
collection-1.16.01.16.0
crypto-2.1.53.0.2
typed_data-1.3.11.3.1

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

Found 5 issues. Showing the first 2:

The constraint `^0.6.0` on asn1lib does not support the stable version `0.7.0`.

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

The constraint `^1.0.1` on base58check does not support the stable version `2.0.0`.

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

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

icon indicating section status
Support sound null safety
0 / 20icon to trigger folding of the section

0/20 points: Package does not opt in to null safety.

Package language version (indicated by the sdk constraint `>=2.4.0 <3.0.0`) is less than 2.12.

Consider migrating.

Analysed with Pana 0.21.13, Dart 2.17.5.

5
likes
90
pub points
30%
popularity

Publisher

unverified uploader

Library to interact with a BTCPay or BitPay server. Usable in Flutter. Basic functionality is supported.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.unknown (COPYING)

Dependencies

asn1lib, base58check, convert, hex, pointycastle

More

Packages that depend on btcpay_client