flutter_fuels 0.0.74
flutter_fuels: ^0.0.74 copied to clipboard
Flutter Plugin for Fuel SDK
We analyzed this package 20 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 50 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: AGPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
27 out of 364 API elements (7.4 %) 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_fuel_utils, base_fuel_utils.BaseFuelUtils, base_fuel_utils.BaseFuelUtils.BaseFuelUtils.new, base_fuel_utils.BaseFuelUtils.getTransactionCost, base_fuel_utils.BaseFuelUtils.isUserAccount.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 16 issues. Showing the first 2:
ERROR: The method 'promiseToFuture' isn't defined for the type 'FuelUtilsImpl'.
lib/fuel_utils/platform_impl/web_fuel_utils.dart:28:29
╷
28 │ final txCostStr = await promiseToFuture(
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fuel_utils/platform_impl/web_fuel_utils.dart
ERROR: The method 'promiseToFuture' isn't defined for the type 'FuelUtilsImpl'.
lib/fuel_utils/platform_impl/web_fuel_utils.dart:41:12
╷
41 │ return promiseToFuture(js_utils.isUserAccount(network, address));
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/fuel_utils/platform_impl/web_fuel_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bip39_mnemonic |
^3.0.6 |
3.0.10 | 4.0.1 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
dart_bech32 |
^2.0.0 |
2.0.0 | 2.0.0 | |
dio |
>=5.0.0 |
5.9.0 | 5.9.0 | |
equatable |
^2.0.5 |
2.0.7 | 2.0.7 | |
fuels |
^1.37.0 |
1.38.0 | 1.38.0 | |
js |
^0.6.5 |
0.6.7 | 0.7.2 | Discontinued |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
archive |
- | 3.6.1 | 4.0.7 | |
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
build_cli_annotations |
- | 2.1.1 | 2.1.1 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_rust_bridge |
- | 1.82.6 | 2.11.1 | |
freezed_annotation |
- | 2.4.4 | 3.1.0 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
path |
- | 1.9.1 | 1.9.1 | |
petitparser |
- | 6.1.0 | 7.0.1 | |
pointycastle |
- | 4.0.0 | 4.0.0 | |
pool |
- | 1.5.2 | 1.5.2 | |
puppeteer |
- | 3.16.0 | 3.20.0 | |
shelf |
- | 1.4.2 | 1.4.2 | |
shelf_static |
- | 1.1.3 | 1.1.3 | |
shelf_web_socket |
- | 1.0.4 | 3.0.0 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
tuple |
- | 2.0.2 | 2.0.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^3.0.6` on bip39_mnemonic does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions bip39_mnemonic to update the constraint.
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 12 errors:
UNDEFINED_METHOD-lib/fuel_utils/platform_impl/web_fuel_utils.dart:28:29- The method 'promiseToFuture' isn't defined for the type 'FuelUtilsImpl'.UNDEFINED_METHOD-lib/fuel_utils/platform_impl/web_fuel_utils.dart:41:12- The method 'promiseToFuture' isn't defined for the type 'FuelUtilsImpl'.URI_DOES_NOT_EXIST-lib/wallet/platform_impl/web_wallet.dart:2:8- Target of URI doesn't exist: 'dart:js_util'.
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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.