pi_flutter_sdk 1.6.5 copy "pi_flutter_sdk: ^1.6.5" to clipboard
pi_flutter_sdk: ^1.6.5 copied to clipboard

A Pi blockchain sdk that query's horizon, build, signs and submits transactions to the Pi network.

100/ 160
pub points
8
downloads

We analyzed this package 3 days ago, and awarded it 100 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/Soneso/pi_flutter_sdk was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1328 out of 6008 API elements (22.1 %) have documentation comments.

Some symbols that are missing documentation: pi_flutter_sdk.AbstractTransaction, pi_flutter_sdk.AbstractTransaction.AbstractTransaction.new, pi_flutter_sdk.AbstractTransaction.MIN_BASE_FEE, pi_flutter_sdk.AbstractTransaction.fromEnvelopeXdr, pi_flutter_sdk.AbstractTransaction.signatureBase.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:pi_flutter_sdk/pi_flutter_sdk.dart that imports:
  • package:pi_flutter_sdk/src/soroban/soroban_auth.dart that imports:
  • package:pi_flutter_sdk/src/xdr/xdr_transaction.dart that imports:
  • package:pi_flutter_sdk/src/xdr/xdr_asset.dart that imports:
  • package:pi_flutter_sdk/src/xdr/xdr_account.dart that imports:
  • package:pi_flutter_sdk/src/xdr/xdr_ledger.dart that imports:
  • package:pi_flutter_sdk/src/util.dart that imports:
  • package:pi_flutter_sdk/src/requests/request_builder.dart that imports:
  • package:pi_flutter_sdk/src/stellar_sdk.dart that imports:
  • dart:io
Failed report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 374 issues. Showing the first 2:

ERROR: The function 'encodingForCharset' isn't defined.

lib/src/eventsource/eventsource.dart:143:5

    ╷
143 │     encodingForCharset(_contentTypeForHeaders(headers).parameters['charset']);
    │     ^^^^^^^^^^^^^^^^^^
    ╵

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

WARNING: Unnecessary cast.

lib/src/asset_type_credit_alphanum.dart:29:33

   ╷
29 │     AssetTypeCreditAlphaNum o = object as AssetTypeCreditAlphaNum;
   │                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.15.0 1.19.1 1.19.1
convert ^3.0.2 3.1.2 3.1.2
crypto ^3.0.2 3.0.7 3.0.7
decimal ^2.3.0 2.3.3 3.2.4
dio ^5.1.1 5.9.0 5.9.0
fixnum ^1.0.1 1.1.1 1.1.1
http ^1.0.0 1.6.0 1.6.0
http_parser ^4.0.1 4.1.2 4.1.2
pinenacl ^0.5.1 0.5.1 0.6.0
pointycastle ^3.6.2 3.9.1 4.0.0
toml ^0.13.1 0.13.1 0.18.0
unorm_dart ^0.2.0 0.2.0 0.3.2
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
dio_web_adapter - 2.1.1 2.1.1
js - 0.7.2 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.18.0
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
petitparser - 5.4.0 7.0.1
rational - 2.2.3 2.2.3
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.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 `^2.3.0` on decimal does not support the stable version `3.0.0`.

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

The constraint `^0.5.1` on pinenacl does not support the stable version `0.6.0`.

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.8, Flutter 3.38.6, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
100
points
8
downloads

Publisher

unverified uploader

Weekly Downloads

A Pi blockchain sdk that query's horizon, build, signs and submits transactions to the Pi network.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

collection, convert, crypto, decimal, dio, fixnum, flutter, http, http_parser, pinenacl, pointycastle, toml, unorm_dart

More

Packages that depend on pi_flutter_sdk