fx_http 0.0.1
fx_http: ^0.0.1 copied to clipboard
Teeup for flutter http request Tool
We analyzed this package 2 days ago, and awarded it 115 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/teeup-flutter/fx_http.git
was unreachable. Make sure that the website is reachable via HEAD
requests.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
225 out of 463 API elements (48.6 %) have documentation comments.
Some symbols that are missing documentation: fx_http
, fx_http.AttachmentType
, fx_http.BaseEntity.BaseEntity.fromJson
, fx_http.BaseEntity.BaseEntity.new
, fx_http.BaseEntity.code
.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:fx_http/fx_http.dart
that imports:package:fx_http/src/dio_utils.dart
that imports:package:dio/adapter.dart
that imports:package:dio/src/adapters/io_adapter.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:fx_http/fx_http.dart
that imports:package:fx_http/src/dio_utils.dart
that imports:package:dio/adapter.dart
that imports:package:dio/src/adapters/io_adapter.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
WARNING: This function has a nullable return type of 'S?', but ends without returning a value.
lib/src/base_entity.dart:89:6
╷
89 │ S? _generateOBJ<S>(json, {BaseModel? model}) {
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base_entity.dart
WARNING: This function has a nullable return type of 'HttpClient?', but ends without returning a value.
lib/src/dio_utils.dart:87:29
╷
87 │ (HttpClient client) {
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dio_utils.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
common_utils |
^2.0.2 |
2.1.0 | 2.1.0 | |
dio |
^4.0.0 |
4.0.6 | 5.9.0 | |
encrypt |
^5.0.0 |
5.0.3 | 5.0.3 | |
flutter_easyloading |
^3.0.0 |
3.0.5 | 3.0.5 | |
oktoast |
^3.0.0 |
3.4.0 | 3.4.0 | |
sp_util |
^2.0.3 |
2.0.3 | 2.0.3 | |
sprintf |
^6.0.0 |
6.0.2 | 7.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
asn1lib |
- | 1.6.5 | 1.6.5 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
decimal |
- | 3.2.4 | 3.2.4 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_spinkit |
- | 5.2.2 | 5.2.2 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
js |
- | 0.7.2 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
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 |
- | 3.9.1 | 4.0.0 | |
rational |
- | 2.2.3 | 2.2.3 | |
shared_preferences |
- | 2.5.3 | 2.5.3 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
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.1 | 1.10.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
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 `^4.0.0` on dio does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions dio
to update the constraint.
The constraint `^6.0.0` on sprintf does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions sprintf
to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.