servicekit 2.0.0-beta.0 copy "servicekit: ^2.0.0-beta.0" to clipboard
servicekit: ^2.0.0-beta.0 copied to clipboard

Topl's ready to use toolkit for Flutter on the Topl Blockchain

3
likes
90/ 160
pub points
0%
popularity

We analyzed this package 4 hours ago, and awarded it 90 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

Repository URL doesn't exist.

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

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: servicekit,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: MPL-2.0.

failed
Provide documentation
10 / 20trigger folding of the section

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

37 out of 151 API elements (24.5 %) have documentation comments.

Some symbols that are missing documentation: cartesian, cartesian.Cartesian, cartesian.Cartesian.Cartesian, cartesian.Cartesian.address, cartesian.Cartesian.lockPredicate.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:servicekit/servicekit.dart that imports:
  • package:servicekit/toolkit/toolkit.dart that imports:
  • package:servicekit/toolkit/features/simple_transaction/simple_transaction_algebra.dart that imports:
  • package:servicekit/toolkit/features/wallet/wallet_management_utils.dart that imports:
  • package:brambldart/brambldart.dart that imports:
  • package:brambldart/src/brambl/brambl.dart that imports:
  • package:brambldart/src/brambl/utils/grpc/channel_factory.dart that imports:
  • package:brambldart/src/brambl/utils/grpc/channel_factory_web.dart that imports:
  • package:grpc/grpc_connection_interface.dart that imports:
  • package:grpc/src/shared/streams.dart that imports:
  • package:http2/transport.dart that imports:
  • dart:io

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 28 issues. Showing the first 2:

ERROR: Classes and mixins can only implement other classes and mixins.

lib/api/contract_storage_api.dart:8:9

  ╷
8 │         brambl.ContractStorageAlgebra,
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

ERROR: The name 'WalletContract' isn't a type, so it can't be used as a type argument.

lib/api/contract_storage_api.dart:9:21

  ╷
9 │         ParseResult<brambl.WalletContract, WalletContract> {
  │                     ^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
brambldart ^2.0.0-beta.1 2.0.0-beta.2 2.0.0-beta.2
fixnum ^1.1.0 1.1.1 1.1.1
flutter flutter 0.0.0 0.0.0
flutter_secure_storage ^9.0.0 9.2.2 9.2.2
path_provider ^2.1.1 2.1.5 2.1.5
sembast ^3.7.1+2 3.7.5+2 3.7.5+2
sembast_web ^2.4.0+2 2.4.0+4 2.4.0+4
topl_common ^2.1.0 2.1.0 2.1.0
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
fast_base58 - 0.2.1 0.2.1
ffi - 2.1.3 2.1.3
flutter_secure_storage_linux - 1.2.1 1.2.1
flutter_secure_storage_macos - 3.1.2 3.1.2
flutter_secure_storage_platform_interface - 1.1.2 1.1.2
flutter_secure_storage_web - 1.2.1 1.2.1
flutter_secure_storage_windows - 3.1.2 3.1.2
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.1+5 0.3.1+5
googleapis_auth - 1.6.0 1.6.0
grpc - 3.2.4 4.0.1
hashlib - 1.21.0 1.21.0
hashlib_codecs - 2.6.0 2.6.0
http - 1.2.2 1.2.2
http2 - 2.3.0 2.3.0
http_parser - 4.0.2 4.1.1
idb_shim - 2.6.1+7 2.6.1+7
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
protobuf - 3.1.0 3.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
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.8.0 5.8.0
xdg_directories - 1.1.0 1.1.0

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.