polkawallet_sdk 0.5.9+4 copy "polkawallet_sdk: ^0.5.9+4" to clipboard
polkawallet_sdk: ^0.5.9+4 copied to clipboard

Flutter SDK for building plugin package for polkawallet.

5
likes
90/ 140
pub points
64%
popularity

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

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

partial
Provide documentation
10 / 20trigger folding of the section

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

164 out of 1518 API elements (10.8 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

Some symbols that are missing documentation: account, account.ServiceAccount, account.ServiceAccount.ServiceAccount, account.ServiceAccount.getAddressIcons, account.ServiceAccount.getPubKeyIcons.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:polkawallet_sdk/polkawallet_sdk.dart that imports:
  • package:polkawallet_sdk/storage/keyringEVM.dart that imports:
  • package:polkawallet_sdk/ethers/apiEthers.dart that imports:
  • package:polkawallet_sdk/service/index.dart that imports:
  • package:polkawallet_sdk/storage/keyring.dart that imports:
  • package:polkawallet_sdk/api/apiKeyring.dart that imports:
  • package:polkawallet_sdk/api/api.dart that imports:
  • package:polkawallet_sdk/api/apiBridge.dart that imports:
  • package:polkawallet_sdk/service/bridge.dart that imports:
  • package:polkawallet_sdk/service/bridgeRunner.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:polkawallet_sdk/polkawallet_sdk.dart that imports:
  • package:polkawallet_sdk/storage/keyringEVM.dart that imports:
  • package:polkawallet_sdk/ethers/apiEthers.dart that imports:
  • package:polkawallet_sdk/service/index.dart that imports:
  • package:polkawallet_sdk/storage/keyring.dart that imports:
  • package:polkawallet_sdk/api/apiKeyring.dart that imports:
  • package:polkawallet_sdk/api/api.dart that imports:
  • package:polkawallet_sdk/api/apiBridge.dart that imports:
  • package:polkawallet_sdk/service/bridge.dart that imports:
  • package:polkawallet_sdk/service/bridgeRunner.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:polkawallet_sdk/polkawallet_sdk.dart that imports:
  • package:polkawallet_sdk/storage/keyringEVM.dart that imports:
  • package:polkawallet_sdk/ethers/apiEthers.dart that imports:
  • package:polkawallet_sdk/service/index.dart that imports:
  • package:polkawallet_sdk/storage/keyring.dart that imports:
  • package:polkawallet_sdk/api/apiKeyring.dart that imports:
  • package:polkawallet_sdk/api/api.dart that imports:
  • package:polkawallet_sdk/api/apiBridge.dart that imports:
  • package:polkawallet_sdk/service/bridge.dart that imports:
  • package:polkawallet_sdk/service/bridgeRunner.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:polkawallet_sdk/polkawallet_sdk.dart that imports:
  • package:polkawallet_sdk/storage/keyringEVM.dart that imports:
  • package:polkawallet_sdk/ethers/apiEthers.dart that imports:
  • package:polkawallet_sdk/service/index.dart that imports:
  • package:polkawallet_sdk/storage/keyring.dart that imports:
  • package:polkawallet_sdk/api/apiKeyring.dart that imports:
  • package:polkawallet_sdk/api/api.dart that imports:
  • package:polkawallet_sdk/api/apiBridge.dart that imports:
  • package:polkawallet_sdk/service/bridge.dart that imports:
  • package:polkawallet_sdk/service/bridgeRunner.dart that imports:
  • package:flutter_inappwebview/flutter_inappwebview.dart that declares support for platforms: Android, iOS.
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 86 issues. Showing the first 2:

WARNING: The value of the field '_loadingFinished' isn't used.

lib/webviewWithExtension/webviewEthInjected.dart:63:8

   ╷
63 │   bool _loadingFinished = false;
   │        ^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The left operand can't be null, so the right operand is never executed.

lib/webviewWithExtension/webviewEthInjected.dart:213:107

    ╷
213 │             'walletExtension.onAppResponse("${msg['msgType']}${msg['id']}", ${addressAuthed.isNotEmpty ?? false}, null)');
    │                                                                                                           ^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/webviewWithExtension/webviewEthInjected.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
bip39 ^1.0.6 1.0.6 1.0.6
convert ^3.1.1 3.1.1 3.1.1
ethers ^0.0.1+3 0.0.1+3 0.0.1+3
flutter flutter 0.0.0 0.0.0
flutter_aes_ecb_pkcs5 ^0.1.2 0.1.3 0.1.3
flutter_inappwebview ^5.8.0 5.8.0 6.0.0
get_storage ^2.1.1 2.1.1 2.1.1
http ^0.13.5 0.13.6 1.2.1
json_annotation ^4.8.0 4.8.1 4.8.1
mobx ^2.1.4 2.3.3+2 2.3.3+2
shared_preferences ^2.0.7 2.2.3 2.2.3
url_launcher ^6.1.10 6.2.6 6.2.6
web3dart ^2.3.5 2.6.1 2.7.3
webview_flutter ^4.0.7 4.7.0 4.7.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bip32 - 2.0.0 2.0.0
bs58check - 1.0.2 1.0.2
characters - 1.3.0 1.3.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
decimal - 2.3.3 2.3.3
eip1559 - 0.6.1 0.6.2
eip55 - 1.0.2 1.0.2
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
get - 4.6.6 4.6.6
hex - 0.2.0 0.2.0
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
path_provider - 2.1.3 2.1.3
path_provider_android - 2.2.4 2.2.4
path_provider_foundation - 2.3.2 2.3.2
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.8.0 3.8.0
rational - 2.2.2 2.2.2
sec - 1.1.0 1.1.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
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
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.1 6.3.1
url_launcher_ios - 6.2.5 6.2.5
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.1 3.1.1
uuid - 3.0.7 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
webview_flutter_android - 3.16.0 3.16.0
webview_flutter_platform_interface - 2.10.0 2.10.0
webview_flutter_wkwebview - 3.13.0 3.13.0
win32 - 5.4.0 5.4.0
xdg_directories - 1.0.4 1.0.4

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

The constraint `^5.8.0` on flutter_inappwebview does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions flutter_inappwebview 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.