flutter_nft 1.3.0
flutter_nft: ^1.3.0 copied to clipboard
A universal Flutter library for NFT operations across multiple blockchains
We analyzed this package 2 hours ago, and awarded it 50 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
566 out of 637 API elements (88.9 %) have documentation comments.
Some symbols that are missing documentation: flutter_nft.AuthenticationException.AuthenticationException.new, flutter_nft.AuthorizationException.AuthorizationException.new, flutter_nft.ConfigurationException.ConfigurationException.new, flutter_nft.ContractException.ContractException.new, flutter_nft.Currency.Currency.new.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 276 issues. Showing the first 2:
ERROR: The argument type 'BlockchainNetwork (where BlockchainNetwork is defined in /tmp/pana_CTINJQ/lib/src/core/nft_types.dart)' can't be assigned to the parameter type 'BlockchainNetwork (where BlockchainNetwork is defined in /tmp/analyzerMRWRAN/pub-cache/hosted/20260317t122600-dot-dartlang-pub.appspot.com/flutter_yuku-1.1.0/lib/src/core/yuku_types.dart)'.
lib/src/core/nft_client.dart:51:53
╷
51 │ return _providerManager.getNFTProviderByNetwork(blockchainNetwork);
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/nft_client.dart
ERROR: A value of type 'WalletProvider' can't be returned from the method 'getWalletProvider' because it has a return type of 'WalletProvider?'.
lib/src/core/nft_client.dart:62:36
╷
62 │ if (provider != null) return provider;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/nft_client.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
equatable |
^2.0.5 |
2.0.8 | 2.0.8 | |
flutter_yuku |
^1.0.0 |
1.1.0 | 2.0.3 | |
http |
^1.1.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.8.1 |
4.11.0 | 4.11.0 | |
shared_preferences |
^2.2.2 |
2.5.4 | 2.5.4 | |
web3dart |
^3.0.0 |
3.0.2 | 3.0.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
eip1559 |
- | 0.6.2 | 0.6.2 | |
eip55 |
- | 1.0.3 | 1.0.3 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_rpc_2 |
- | 4.1.0 | 4.1.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
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 |
- | 4.0.0 | 4.0.0 | |
sec |
- | 1.1.1 | 1.1.1 | |
shared_preferences_android |
- | 2.4.21 | 2.4.21 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.2 | 1.10.2 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.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 | |
uuid |
- | 4.5.3 | 4.5.3 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
wallet |
- | 0.0.18 | 0.0.18 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^1.0.0` on flutter_yuku does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions flutter_yuku to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 184 errors:
ARGUMENT_TYPE_NOT_ASSIGNABLE-lib/src/core/nft_client.dart:51:53- The argument type 'BlockchainNetwork (where BlockchainNetwork is defined in /tmp/pana_CTINJQ/lib/src/core/nft_types.dart)' can't be assigned to the parameter type 'BlockchainNetwork (where BlockchainNetwork is defined in /tmp/analyzerMRWRAN/pub-cache/hosted/20260317t122600-dot-dartlang-pub.appspot.com/flutter_yuku-1.0.0/lib/src/core/yuku_types.dart)'.RETURN_OF_INVALID_TYPE-lib/src/core/nft_client.dart:62:36- A value of type 'WalletProvider' can't be returned from the method 'getWalletProvider' because it has a return type of 'WalletProvider?'.RETURN_OF_INVALID_TYPE-lib/src/core/nft_client.dart:65:12- A value of type 'WalletProvider? (where WalletProvider is defined in /tmp/analyzerMRWRAN/pub-cache/hosted/20260317t122600-dot-dartlang-pub.appspot.com/flutter_yuku-1.0.0/lib/src/interfaces/wallet_provider.dart)' can't be returned from the method 'getWalletProvider' because it has a return type of 'WalletProvider? (where WalletProvider is defined in /tmp/pana_CTINJQ/lib/src/interfaces/wallet_provider.dart)'.
Run flutter pub downgrade and then flutter analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.11, Flutter 3.41.4, Dart 3.11.1.
Check the analysis log for details.