flutter_wicc 1.0.2+1

wicc-wallet-utils-flutter #

wicc-wallet-utils-flutter

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  flutter_wicc: ^1.0.2+1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

with Flutter:


$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:flutter_wicc/flutter_wicc.dart';
  
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
84
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
50
Overall:
Weighted score of the above. [more]
35
Learn more about scoring.

We analyzed this package on Aug 21, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.4.0
  • pana: 0.12.19

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Health suggestions

Fix lib/src/type/wayki_tx_type.dart. (-4.41 points)

Analysis of lib/src/type/wayki_tx_type.dart reported 9 hints, including:

line 2 col 16: Name non-constant identifiers using lowerCamelCase.

line 3 col 16: Name non-constant identifiers using lowerCamelCase.

line 4 col 16: Name non-constant identifiers using lowerCamelCase.

line 5 col 16: Name non-constant identifiers using lowerCamelCase.

line 6 col 16: Name non-constant identifiers using lowerCamelCase.

Fix lib/src/transaction.dart. (-2.48 points)

Analysis of lib/src/transaction.dart reported 5 hints:

line 17 col 7: Name non-constant identifiers using lowerCamelCase.

line 18 col 7: Name non-constant identifiers using lowerCamelCase.

line 20 col 7: Name non-constant identifiers using lowerCamelCase.

line 22 col 7: Name non-constant identifiers using lowerCamelCase.

line 23 col 7: Name non-constant identifiers using lowerCamelCase.

Fix lib/src/bip32/src/ecurve.dart. (-1.99 points)

Analysis of lib/src/bip32/src/ecurve.dart reported 4 hints:

line 9 col 8: Don't import implementation files from another package.

line 10 col 7: Name non-constant identifiers using lowerCamelCase.

line 11 col 7: Name non-constant identifiers using lowerCamelCase.

line 12 col 7: Name non-constant identifiers using lowerCamelCase.

Fix additional 29 files with analysis or formatting issues. (-7.98 points)

Additional issues in the following files:

  • lib/src/utils/BufferWriter.dart (3 hints)
  • lib/src/utils/script.dart (3 hints)
  • lib/src/bip39/bip39_base.dart (2 hints)
  • lib/src/ecpair.dart (2 hints)
  • lib/src/params/basesign_tx_params.dart (2 hints)
  • lib/src/utils/crypto/hmac.dart (1 hint)
  • lib/src/utils/crypto/typed_buffers.dart (1 hint)
  • lib/src/utils/util.dart (1 hint)
  • lib/src/utils/varuint.dart (1 hint)
  • lib/flutter_wicc.dart (Run flutter format to format lib/flutter_wicc.dart.)
  • lib/src/bip32/src/crypto.dart (Run flutter format to format lib/src/bip32/src/crypto.dart.)
  • lib/src/bip32/src/wif.dart (Run flutter format to format lib/src/bip32/src/wif.dart.)
  • lib/src/bip39/utils/pbkdf2.dart (Run flutter format to format lib/src/bip39/utils/pbkdf2.dart.)
  • lib/src/models/networks.dart (Run flutter format to format lib/src/models/networks.dart.)
  • lib/src/params/deploy_contract_tx_param.dart (Run flutter format to format lib/src/params/deploy_contract_tx_param.dart.)
  • lib/src/params/wayki_common_tx_params.dart (Run flutter format to format lib/src/params/wayki_common_tx_params.dart.)
  • lib/src/params/wayki_contract_tx_parames.dart (Run flutter format to format lib/src/params/wayki_contract_tx_parames.dart.)
  • lib/src/params/wayki_delegate_tx_parames.dart (Run flutter format to format lib/src/params/wayki_delegate_tx_parames.dart.)
  • lib/src/params/wayki_register_tx_params.dart (Run flutter format to format lib/src/params/wayki_register_tx_params.dart.)
  • lib/src/payments/p2pkh.dart (Run flutter format to format lib/src/payments/p2pkh.dart.)
  • lib/src/type/wayki_net_type.dart (Run flutter format to format lib/src/type/wayki_net_type.dart.)
  • lib/src/type/wayki_tx_model.dart (Run flutter format to format lib/src/type/wayki_tx_model.dart.)
  • lib/src/utils/check_types.dart (Run flutter format to format lib/src/utils/check_types.dart.)
  • lib/src/utils/constants/op.dart (Run flutter format to format lib/src/utils/constants/op.dart.)
  • lib/src/utils/crypto/digest.dart (Run flutter format to format lib/src/utils/crypto/digest.dart.)
  • lib/src/utils/magic_hash.dart (Run flutter format to format lib/src/utils/magic_hash.dart.)
  • lib/src/utils/push_data.dart (Run flutter format to format lib/src/utils/push_data.dart.)
  • lib/src/utils/writer.dart (Run flutter format to format lib/src/utils/writer.dart.)
  • lib/src/wallet_utils.dart (Run flutter format to format lib/src/wallet_utils.dart.)

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.

The package description is too short. (-20 points)

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.

Maintain an example. (-10 points)

Create a short demo in the example/ directory to show how to use this package.

Common filename patterns include main.dart, example.dart, and flutter_wicc.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.1.0 <3.0.0
bs58check ^1.0.1 1.0.1
hex ^0.1.2 0.1.2
meta ^1.1.5 1.1.7
pointycastle ^1.0.1 1.0.1
Transitive dependencies
charcode 1.1.2
collection 1.14.12
convert 2.1.1
crypto 2.1.2
typed_data 1.1.6
Dev dependencies
flutter_test
test ^1.0.0