flutter_fuelet_contracts 0.0.10 flutter_fuelet_contracts: ^0.0.10 copied to clipboard
Flutter Plugin for Fuelet Sway contracts
We analyzed this package 2 days ago, and awarded it 60 pub points (of a possible 160):
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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/Fuelet/fuelet_contracts/tree/main/packages/flutter_fuelet_contracts
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: flutter_fuelet_contracts
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
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: AGPL-3.0
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 56 API elements (0.0 %) 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.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: base_token_contract
, base_token_contract.BaseTokenContract
, base_token_contract.BaseTokenContract.BaseTokenContract
, base_token_contract.BaseTokenContract.decimals
, base_token_contract.BaseTokenContract.name
.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_fuelet_contracts/flutter_fuelet_contracts.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `Linux`.
Because:
package:flutter_fuelet_contracts/flutter_fuelet_contracts.dart
that declares support for platforms:Android
,iOS
,Web
.
Package does not support platform `macOS`.
Because:
package:flutter_fuelet_contracts/flutter_fuelet_contracts.dart
that declares support for platforms:Android
,iOS
,Web
.
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
ERROR: A value of type 'int?' can't be returned from the method 'decimals' because it has a return type of 'Future
lib/token_contract/platform_impl/mobile_token_contract.dart:16:12
╷
16 │ return await _tokenContract.decimals(
│ ┌────────────^
17 │ │ contractId: contractId, assetId: assetId);
│ └─────────────────────────────────────────────────^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/token_contract/platform_impl/mobile_token_contract.dart
ERROR: A value of type 'String?' can't be returned from the method 'name' because it has a return type of 'Future
lib/token_contract/platform_impl/mobile_token_contract.dart:22:12
╷
22 │ return await _tokenContract.name(contractId: contractId, assetId: assetId);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/token_contract/platform_impl/mobile_token_contract.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_web_plugins |
flutter |
0.0.0 | 0.0.0 |
fuelet_contracts |
^1.8.0 |
1.8.0 | 1.8.0 |
js |
^0.6.5 |
0.6.7 | 0.7.1 |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
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 |
build_cli_annotations |
- | 2.1.0 | 2.1.0 |
characters |
- | 1.3.0 | 1.3.1 |
collection |
- | 1.18.0 | 1.19.1 |
colorize |
- | 3.0.0 | 3.0.0 |
convert |
- | 3.1.2 | 3.1.2 |
crypto |
- | 3.0.6 | 3.0.6 |
ffi |
- | 2.1.3 | 2.1.3 |
flutter_rust_bridge |
- | 1.75.3 | 2.5.1 |
freezed_annotation |
- | 2.4.4 | 2.4.4 |
http |
- | 0.13.6 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.1 |
json_annotation |
- | 4.9.0 | 4.9.0 |
logging |
- | 1.3.0 | 1.3.0 |
material_color_utilities |
- | 0.11.1 | 0.12.0 |
meta |
- | 1.15.0 | 1.16.0 |
mime |
- | 2.0.0 | 2.0.0 |
path |
- | 1.9.1 | 1.9.1 |
petitparser |
- | 5.4.0 | 6.0.2 |
pool |
- | 1.5.1 | 1.5.1 |
puppeteer |
- | 2.25.1 | 3.15.0 |
shelf |
- | 1.4.1 | 1.4.2 |
shelf_static |
- | 1.1.3 | 1.1.3 |
shelf_web_socket |
- | 1.0.4 | 2.0.0 |
sky_engine |
- | 0.0.99 | 0.0.99 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.12.0 | 1.12.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
tuple |
- | 2.0.2 | 2.0.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
uuid |
- | 3.0.7 | 4.5.1 |
vector_math |
- | 2.1.4 | 2.1.4 |
web |
- | 0.5.1 | 1.1.0 |
web_socket_channel |
- | 2.4.5 | 3.0.1 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.5` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
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 4 errors:
RETURN_OF_INVALID_TYPE
-lib/token_contract/platform_impl/mobile_token_contract.dart:16:12
- A value of type 'int?' can't be returned from the method 'decimals' because it has a return type of 'FutureRETURN_OF_INVALID_TYPE
-lib/token_contract/platform_impl/mobile_token_contract.dart:22:12
- A value of type 'String?' can't be returned from the method 'name' because it has a return type of 'FutureRETURN_OF_INVALID_TYPE
-lib/token_contract/platform_impl/mobile_token_contract.dart:27:12
- A value of type 'String?' can't be returned from the method 'symbol' because it has a return type of 'Future
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.22.15
, Flutter 3.24.4
, Dart 3.5.4
.
Check the analysis log for details.