pancake_sdk 0.0.2 copy "pancake_sdk: ^0.0.2" to clipboard
pancake_sdk: ^0.0.2 copied to clipboard

A package support web3 for crypto

0
likes
100/ 140
pub points
0%
popularity

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

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.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: pancake_sdk,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: pancake_sdk.

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

55 out of 247 API elements (22.3 %) have documentation comments.

Some symbols that are missing documentation: assets, assets.Assets.assetsBytecode, bigint_ext, bigint_ext.BigIntExt, bigint_ext.BigIntExt.babylonianSqrt.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 64 issues. Showing the first 2:

INFO: The variable name 'MaxUint256' isn't a lowerCamelCase identifier.

lib/core/constants.dart:6:12

  ╷
6 │ BigInt get MaxUint256 =>  BigInt.parse("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
  │            ^^^^^^^^^^
  ╵

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

INFO: The variable name 'MAX_SAFE_INTEGER' isn't a lowerCamelCase identifier.

lib/core/constants.dart:7:12

  ╷
7 │ BigInt get MAX_SAFE_INTEGER => BigInt.from(Number.MAX_SAFE_INTEGER);
  │            ^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/constants.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
big_dart ^1.0.1 1.0.1 1.0.1
convert ^3.0.2 3.1.1 3.1.1
cupertino_icons ^1.0.2 1.0.8 1.0.8
dart_numerics ^0.0.6 0.0.6 0.0.6
decimal ^2.3.0 2.3.3 2.3.3
ethereum_addresses ^1.0.2 1.0.2 1.0.2
flutter flutter 0.0.0 0.0.0
intl ^0.18.0 0.18.1 0.19.0
web3dart ^2.3.5 2.7.3 2.7.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
fixnum - 1.1.0 1.1.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.2 3.0.2
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
pointycastle - 3.9.0 3.9.0
rational - 2.2.2 2.2.2
sec - 1.1.0 1.1.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
tuple - 2.0.2 2.0.2
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
wallet - 0.0.13 0.0.13
web - 0.5.1 0.5.1

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

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.